Fix stuck in case pam files was updated before by force update

This commit is contained in:
fitz123 committed 2015-09-30 22:11:37 +07:00
1 parent cd0c69e5ff
commit 78fb438a10
1 file changed
+3
+3
View File
@@ -2,6 +2,9 @@
- name: update pam on Debian systems
command: 'pam-auth-update --package'
when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
changed_when: False
environment:
DEBIAN_FRONTEND: noninteractive
- name: remove pam ccreds on Debian systems
apt: name='{{os_packages_pam_ccreds}}' state=absent