Aesthetic changes to pam_base. Skipping update-ca-certificates if ca.crt is not downloaded anew.
This commit is contained in:
parent
b703dc1a4e
commit
3f864685cb
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
# Configurazione di base di PAM per dominio
|
# Configurazione di base di PAM per dominio
|
||||||
|
|
||||||
- name: 'installazione libpam-winbind'
|
- name: Installazione libpam-winbind
|
||||||
apt: name=libpam-winbind state=present
|
apt: name=libpam-winbind state=present
|
||||||
sudo: yes
|
sudo: yes
|
||||||
|
|
||||||
|
@ -14,9 +14,11 @@
|
|||||||
url: http://{{ serverfqdn }}/proxy.crt
|
url: http://{{ serverfqdn }}/proxy.crt
|
||||||
dest: /usr/local/share/ca-certificates/{{ domainfull }}/ca.crt
|
dest: /usr/local/share/ca-certificates/{{ domainfull }}/ca.crt
|
||||||
sudo: yes
|
sudo: yes
|
||||||
|
register: proxycrt_dwnl
|
||||||
|
|
||||||
- name: Aggiungo il certificato a quelli utilizzati dal sistema
|
- name: Aggiungo il certificato a quelli utilizzati dal sistema
|
||||||
shell: update-ca-certificates
|
shell: update-ca-certificates
|
||||||
|
when: proxycrt_dwnl|changed
|
||||||
sudo: yes
|
sudo: yes
|
||||||
|
|
||||||
- name: Scarico il database dei certificati di FF con certificato server aggiornato.
|
- name: Scarico il database dei certificati di FF con certificato server aggiornato.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user