From a345da00233fb51d014331169350178b886a079f Mon Sep 17 00:00:00 2001 From: Sebastian Gumprich Date: Thu, 18 Jun 2015 13:33:21 +0000 Subject: [PATCH] Delete authconfig-task on rhel-systems The authconfig-task overrides changes we later do on files, so this task is not necessary and causes some tasks to always change files --- roles/ansible-os-hardening/tasks/pam.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/roles/ansible-os-hardening/tasks/pam.yml b/roles/ansible-os-hardening/tasks/pam.yml index d32bfddeb..64c7310d2 100644 --- a/roles/ansible-os-hardening/tasks/pam.yml +++ b/roles/ansible-os-hardening/tasks/pam.yml @@ -3,10 +3,6 @@ command: 'pam-auth-update --package' when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu' -- name: update pam on Redhat systems - command: 'authconfig --update' - when: ansible_os_family == 'RedHat' or ansible_os_family == 'Oracle Linux' - - name: remove pam ccreds on Debian systems apt: name='{{os_packages_pam_ccreds}}' state=absent when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'