From 7a84821b8f8c93dec91ab1dbe836cd60eb51dad8 Mon Sep 17 00:00:00 2001 From: BenGig Date: Fri, 22 Mar 2019 11:51:39 +0100 Subject: [PATCH] Backup of sshd_config dependent on variable Propagates setting sshd_backup to template installation task --- tasks/install.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/install.yml b/tasks/install.yml index bdf7438..cf4241d 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -18,6 +18,7 @@ group: "{{ sshd_config_group }}" mode: "{{ sshd_config_mode }}" validate: "{{ sshd_binary }} -t -f %s" + backup: "{{ sshd_backup }}" notify: reload_sshd - name: Install systemd service files