mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-28 21:50:18 +01:00
Merge pull request #106 from BenGig/master
Backup of sshd_config dependent on variable
This commit is contained in:
commit
7f6344b508
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@
|
||||||
group: "{{ sshd_config_group }}"
|
group: "{{ sshd_config_group }}"
|
||||||
mode: "{{ sshd_config_mode }}"
|
mode: "{{ sshd_config_mode }}"
|
||||||
validate: "{{ sshd_binary }} -t -f %s"
|
validate: "{{ sshd_binary }} -t -f %s"
|
||||||
|
backup: "{{ sshd_backup }}"
|
||||||
notify: reload_sshd
|
notify: reload_sshd
|
||||||
|
|
||||||
- name: Install systemd service files
|
- name: Install systemd service files
|
||||||
|
|
Loading…
Reference in a new issue