2 Commits

Author SHA1 Message Date
bd0b74ba19 Merge branch 'Kubernetes.Bootstrap.Appliance' of https://code.spamasaurus.com/djpbessems/Packer.Images into Kubernetes.Bootstrap.Appliance
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-28 10:00:59 +02:00
521b323de2 Add retries 2022-08-28 10:00:58 +02:00

View File

@@ -14,11 +14,19 @@
owner: root owner: root
group: root group: root
mode: 0755 mode: 0755
register: download
until: download is not failed
retries: 3
delay: 10
- name: Download K3s images tarball - name: Download K3s images tarball
ansible.builtin.get_url: ansible.builtin.get_url:
url: https://github.com/k3s-io/k3s/releases/download/{{ platform.k3s.version }}/k3s-airgap-images-amd64.tar.gz url: https://github.com/k3s-io/k3s/releases/download/{{ platform.k3s.version }}/k3s-airgap-images-amd64.tar.gz
dest: /var/lib/rancher/k3s/agent/images dest: /var/lib/rancher/k3s/agent/images
register: download
until: download is not failed
retries: 3
delay: 10
- name: Download K3s install script - name: Download K3s install script
ansible.builtin.get_url: ansible.builtin.get_url:
@@ -27,6 +35,10 @@
owner: root owner: root
group: root group: root
mode: 0755 mode: 0755
register: download
until: download is not failed
retries: 3
delay: 10
- name: Inject manifests - name: Inject manifests
ansible.builtin.template: ansible.builtin.template: