Commit e64048f3 authored by Mattia Rizzolo's avatar Mattia Rizzolo

common: turn files into templates

Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent e61fc6d3
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
- name: upload firewall script - name: upload firewall script
copy: template:
src: firewall/firewall.sh src: firewall/firewall.sh
dest: /usr/local/sbin/firewall dest: /usr/local/sbin/firewall
mode: 0700 mode: 0700
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
- name: upload firewall service - name: upload firewall service
copy: template:
src: firewall/firewall.service src: firewall/firewall.service
dest: /etc/systemd/system/firewall.service dest: /etc/systemd/system/firewall.service
......
--- ---
- name: copy ssh configuration - name: copy ssh configuration
copy: template:
src: ssh/sshd_config src: ssh/sshd_config
dest: /etc/ssh/sshd_config dest: /etc/ssh/sshd_config
mode: 0644 mode: 0644
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
- name: allow passwordless-sudo to use sudo - name: allow passwordless-sudo to use sudo
copy: template:
src: users/sudoers-passwordless-sudo src: users/sudoers-passwordless-sudo
dest: /etc/sudoers.d/passwordless-sudo dest: /etc/sudoers.d/passwordless-sudo
mode: 0440 mode: 0440
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment