From 7fd6127d29ab2fdef57dd12e83ae3ebb94896279 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Sun, 5 Nov 2017 01:01:37 +0200 Subject: [PATCH] roles/common: Remove check for CentOS in sshd task I'm not supporting CentOS here so we don't need to check this. --- roles/common/tasks/sshd.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,