You've already forked ansible-role-common
Removed ssh configuration from common role. This has been moved to authentication role instead
This commit is contained in:
@@ -14,12 +14,6 @@
|
|||||||
dest: /etc/resolv.conf,
|
dest: /etc/resolv.conf,
|
||||||
mode: u+rw,a+r
|
mode: u+rw,a+r
|
||||||
}
|
}
|
||||||
- { src: sshd_config.j2,
|
|
||||||
dest: /etc/ssh/sshd_config,
|
|
||||||
mode: u+rw,a+r
|
|
||||||
}
|
|
||||||
notify:
|
|
||||||
- Restart SSH
|
|
||||||
tags: dns
|
tags: dns
|
||||||
|
|
||||||
- name: Ensure hosts file correct
|
- name: Ensure hosts file correct
|
||||||
@@ -59,6 +53,7 @@
|
|||||||
when: (ansible_os_family == "RedHat" and ansible_distribution_major_version == "7")
|
when: (ansible_os_family == "RedHat" and ansible_distribution_major_version == "7")
|
||||||
notify:
|
notify:
|
||||||
- restart NetworkManager
|
- restart NetworkManager
|
||||||
|
changed_when: false
|
||||||
|
|
||||||
- name: Ensure correct permissions (hosts/resolv.conf)
|
- name: Ensure correct permissions (hosts/resolv.conf)
|
||||||
file:
|
file:
|
||||||
|
|||||||
Reference in New Issue
Block a user