Rebase containerimage;Add Rancher helm chart repo
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Danny Bessems 2022-04-23 13:37:23 +02:00
parent 8ede7fd1b2
commit 08d4622116
4 changed files with 21 additions and 4 deletions

View File

@ -9,7 +9,7 @@ volumes:
steps:
- name: Run Ansible playbook
image: bv11-cr01.bessems.eu/library/packer-extended
image: bv11-cr01.bessems.eu/library/ansible-extended
pull: always
commands:
- |
@ -38,7 +38,7 @@ steps:
- name: scratch
path: /scratch
- name: Remove temporary resources
image: bv11-cr01.bessems.eu/library/packer-extended
image: bv11-cr01.bessems.eu/library/ansible-extended
pull: always
commands:
- |

View File

@ -146,8 +146,7 @@
# seconds: 300
ansible.builtin.shell:
cmd: kubectl get pod -A
with_sequence:
count: 5
with_sequence: count=5
delay: 10
delegate_to: "{{ ansible_play_hosts[0] }}"
@ -183,3 +182,16 @@
var: debug.stdout
when: inventory_hostname != ansible_play_hosts[0]
- name: Deploy applications
hosts: localhost
gather_facts: false
vars_files:
- applications.k3s.yml
tasks:
- name: Add Helm chart repositories
kubernetes.core.helm_repository:
name: "{{ item.name }}"
repo_url: "{{ item.url }}"
loop: "{{ helm.repositories }}"

View File

@ -2,3 +2,4 @@ collections:
- ansible.utils
- community.general
- community.vmware
- kubernetes.core

View File

@ -0,0 +1,4 @@
helm:
repositories:
- name: rancher-stable
url: https://releases.rancher.com/server-charts/stable