Backup of sshd_config dependent on variable

Propagates setting sshd_backup to template installation task
This commit is contained in:
BenGig 2019-03-22 11:51:39 +01:00 committed by GitHub
parent a84bc84c22
commit 7a84821b8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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