2022-05-05 18:03:54 +00:00
|
|
|
- name: Ensures Freifunk Folder exists
|
|
|
|
file: path=/opt/freifunk state=directory
|
|
|
|
|
|
|
|
- name: Copy Reboot Script
|
|
|
|
ansible.builtin.template:
|
|
|
|
src: sn_startup.sh.j2
|
|
|
|
dest: /opt/freifunk/sn_startup.sh
|
|
|
|
owner: root
|
|
|
|
group: root
|
2022-05-07 09:24:28 +00:00
|
|
|
mode: '0775'
|
2022-05-05 18:03:54 +00:00
|
|
|
|
|
|
|
- name: Cron Job to run after boot
|
|
|
|
ansible.builtin.cron:
|
|
|
|
name: "Set Freifunk Routes"
|
|
|
|
special_time: reboot
|
|
|
|
job: /opt/freifunk/sn_startup.sh
|