custom firewall solution

This commit is contained in:
2022-04-16 17:47:49 +02:00
parent 49102eb285
commit 75d7aad012
10 changed files with 50 additions and 50 deletions

View File

@ -11,7 +11,7 @@
copy:
src: backup-script.service
dest: /usr/lib/systemd/system/backup-script.service
mode: 644
mode: 0644
owner: root
group: root
@ -19,7 +19,7 @@
copy:
src: backup.target
dest: /usr/lib/systemd/system/backup.target
mode: 644
mode: 0644
owner: root
group: root
@ -27,7 +27,7 @@
copy:
src: backup.timer
dest: /usr/lib/systemd/system/backup.timer
mode: 644
mode: 0644
owner: root
group: root
@ -49,3 +49,11 @@
ansible.builtin.systemd:
enabled: yes
name: backup.timer
- name: Copy ssh config
copy:
src: ssh_config
dest: /root/.ssh/config
mode: 0600
owner: root
group: root