mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-12-24 09:30:19 +01:00
Backup of sshd_config dependent on variable
Propagates setting sshd_backup to template installation task
This commit is contained in:
parent
a84bc84c22
commit
7a84821b8f
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