Fix Cloud + iptables

This commit is contained in:
Florian RICHER 2023-05-21 15:19:59 +02:00
parent 4ec713038a
commit 7adf079b23
5 changed files with 55 additions and 46 deletions

View file

@ -12,6 +12,13 @@
dest: cloud/
register: cloud_copy_files_results
- name: Ensure cron.sh as +x permission
ansible.builtin.file:
path: cloud/cron.sh
mode: u=rwx,g=rx,o=rx
modification_time: preserve
access_time: preserve
- name: Copy template conf
ansible.builtin.template:
backup: true

View file

@ -4,4 +4,5 @@
ansible.builtin.cron:
name: "check dirs"
minute: "*/5"
job: "cd {{ ansible_env.HOME }}/cloud && ./cron.sh"
job: "cd {{ ansible_env.HOME }}/cloud && ./cron.sh"
become: yes