Correcting the certificate downloading and the removal of temporary server name file during epoptes installation.

This commit is contained in:
Emiliano Vavassori 2015-09-13 20:38:05 +02:00
parent dd3832965c
commit ede63b9676
1 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@
sudo: yes
- name: Prendo il certificato
shell: /usr/sbin/epoptes-client -c
shell: "test -f /etc/epoptes/server.crt || /usr/sbin/epoptes-client -c"
sudo: yes
when: role == 'client' and epo_srv_name|changed
notify:
@ -37,7 +37,7 @@
- name: Pulisco
file:
src: /tmp/epoptes-srv
path: /tmp/epoptes-srv
state: absent
sudo: yes
when: get_epo_srv_name|changed