diff --git a/roles/common/tasks/sshd.yml b/roles/common/tasks/sshd.yml index e1773ff..a3b3b55 100644 --- a/roles/common/tasks/sshd.yml +++ b/roles/common/tasks/sshd.yml @@ -1,9 +1,9 @@ --- -# SSH configs don't change in Debian / CentOS minor versions +# SSH configs don't change in Debian minor versions - name: Reconfigure /etc/ssh/sshd_config template: src=sshd_config_{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.j2 dest=/etc/ssh/sshd_config owner=root group=root mode=0600 - when: (ansible_distribution == 'Debian' or ansible_distribution == 'CentOS') + when: ansible_distribution == 'Debian' notify: reload sshd # Ubuntu is the only distro we have where SSH version is very different from 14.04 -> 14.10,