forked from evolix/ansible-roles
evomaintenance: use allow_unauthenticated option
This commit is contained in:
parent
92f12682d1
commit
6c2cbe197f
|
@ -1,9 +1,8 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
- name: evomaintenance is installed
|
- name: evomaintenance is installed
|
||||||
command: "apt-get install -yq --allow-unauthenticated evomaintenance"
|
apt:
|
||||||
register: installed_evomaintenance
|
name: evomaintenance
|
||||||
changed_when: not (installed_evomaintenance.stdout | search("0 upgraded") and installed_evomaintenance.stdout | search("0 newly installed"))
|
allow_unauthenticated: yes
|
||||||
|
|
||||||
- name: configuration is applied
|
- name: configuration is applied
|
||||||
template:
|
template:
|
||||||
|
@ -14,7 +13,6 @@
|
||||||
shell: "cat /etc/passwd | grep -vE \"^root:\" | grep -E \":/[^:]+sh$\" | cut -d: -f6"
|
shell: "cat /etc/passwd | grep -vE \"^root:\" | grep -E \":/[^:]+sh$\" | cut -d: -f6"
|
||||||
changed_when: False
|
changed_when: False
|
||||||
check_mode: no
|
check_mode: no
|
||||||
|
|
||||||
register: home_of_shell_users
|
register: home_of_shell_users
|
||||||
|
|
||||||
- include: trap.yml home={{ item }}
|
- include: trap.yml home={{ item }}
|
||||||
|
|
Loading…
Reference in a new issue