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: