Fix Cloud + iptables
This commit is contained in:
parent
4ec713038a
commit
7adf079b23
5 changed files with 55 additions and 46 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue