Skip to content

Commit

Permalink
Delete authconfig-task on rhel-systems
Browse files Browse the repository at this point in the history
The authconfig-task overrides changes we later do on files, so this
task is not necessary and causes some tasks to always change files
  • Loading branch information
Sebastian Gumprich authored and chris-rock committed Jun 19, 2015
1 parent 71c7042 commit a345da0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions roles/ansible-os-hardening/tasks/pam.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit a345da0

Please sign in to comment.