Packer.Images/ansible/roles/firstboot/tasks/main.yml
djpbessems f8d0c1cdde
Some checks failed
continuous-integration/drone/push Build is failing
Fix yamllint error
2021-06-08 21:57:07 +02:00

13 lines
290 B
YAML

- name: Copy firstboot script file
ansible.builtin.copy:
src: firstboot.sh
dest: /opt/firstboot.sh
owner: root
group: root
mode: o+x
- name: Create @reboot crontab job
ansible.builtin.cron:
name: "firstboot"
special_time: reboot
job: "/opt/firstboot.sh"