From 51eb4242d2288e0126ea37f7000c5e6c12292b5e Mon Sep 17 00:00:00 2001 From: Aaron Guise Date: Sat, 11 Mar 2017 20:10:03 +1300 Subject: [PATCH] Removed ssh configuration from common role. This has been moved to authentication role instead --- tasks/networking.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tasks/networking.yml b/tasks/networking.yml index d43759c..7375779 100644 --- a/tasks/networking.yml +++ b/tasks/networking.yml @@ -14,12 +14,6 @@ dest: /etc/resolv.conf, mode: u+rw,a+r } - - { src: sshd_config.j2, - dest: /etc/ssh/sshd_config, - mode: u+rw,a+r - } - notify: - - Restart SSH tags: dns - name: Ensure hosts file correct @@ -59,6 +53,7 @@ when: (ansible_os_family == "RedHat" and ansible_distribution_major_version == "7") notify: - restart NetworkManager + changed_when: false - name: Ensure correct permissions (hosts/resolv.conf) file: