16 lines
404 B
YAML
16 lines
404 B
YAML
|
- 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
|
||
|
mode: '0644'
|
||
|
|
||
|
- name: Cron Job to run after boot
|
||
|
ansible.builtin.cron:
|
||
|
name: "Set Freifunk Routes"
|
||
|
special_time: reboot
|
||
|
job: /opt/freifunk/sn_startup.sh
|