Extend ansible roles #2
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2021-06-08 21:56:06 +02:00
parent d5c3e2c0b6
commit 4ea138fd69
8 changed files with 31 additions and 4 deletions

View File

@ -0,0 +1,12 @@
- 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"