mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-12-23 02:45:02 +01:00
Added backup for configuration files
This commit is contained in:
parent
543c640754
commit
38616ff702
@ -1,3 +1,6 @@
|
||||
- name: configuring ssh
|
||||
template: src=sshd_config dest=/etc/ssh/
|
||||
- name: create sshd_config
|
||||
copy:
|
||||
src: sshd_config
|
||||
dest: /etc/ssh/sshd_config
|
||||
backup: yes
|
||||
notify: sshd restart
|
||||
|
@ -8,3 +8,4 @@
|
||||
mode: "0440"
|
||||
owner: root
|
||||
group: root
|
||||
backup: yes
|
||||
|
Loading…
Reference in New Issue
Block a user