Correcting the certificate downloading and the removal of temporary server name file during epoptes installation.
This commit is contained in:
parent
dd3832965c
commit
ede63b9676
@ -29,7 +29,7 @@
|
|||||||
sudo: yes
|
sudo: yes
|
||||||
|
|
||||||
- name: Prendo il certificato
|
- name: Prendo il certificato
|
||||||
shell: /usr/sbin/epoptes-client -c
|
shell: "test -f /etc/epoptes/server.crt || /usr/sbin/epoptes-client -c"
|
||||||
sudo: yes
|
sudo: yes
|
||||||
when: role == 'client' and epo_srv_name|changed
|
when: role == 'client' and epo_srv_name|changed
|
||||||
notify:
|
notify:
|
||||||
@ -37,7 +37,7 @@
|
|||||||
|
|
||||||
- name: Pulisco
|
- name: Pulisco
|
||||||
file:
|
file:
|
||||||
src: /tmp/epoptes-srv
|
path: /tmp/epoptes-srv
|
||||||
state: absent
|
state: absent
|
||||||
sudo: yes
|
sudo: yes
|
||||||
when: get_epo_srv_name|changed
|
when: get_epo_srv_name|changed
|
||||||
|
Loading…
x
Reference in New Issue
Block a user