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