Add missing kubeconfig path;Reorder cleanup tasks
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-11-10 21:27:17 +01:00
parent 6ce1a66d3e
commit 5751e7200c
4 changed files with 15 additions and 16 deletions

View File

@ -1,3 +1,17 @@
- name: Compress tarballs
community.general.archive:
dest: /opt/metacluster/container-images/image-tarballs.tgz
path: /opt/metacluster/container-images/*.tar
format: gz
remove: yes
ignore_errors: yes
- name: Cleanup tempfile
ansible.builtin.file:
path: "{{ kubeconfig.path }}"
state: absent
when: kubeconfig.path is defined
- name: Disable crontab job
ansible.builtin.cron:
name: firstboot