Packer.Images/ansible/roles/firstboot/files/ansible_payload/common/roles/cleanup/tasks/main.yml

13 lines
268 B
YAML

- import_tasks: service.yml
- import_tasks: cron.yml
- name: Cleanup tempfile
ansible.builtin.file:
path: "{{ kubeconfig.path }}"
state: absent
when: kubeconfig.path is defined
# - name: Reboot host
# ansible.builtin.shell:
# cmd: systemctl reboot