Better management on reboot by epoptes-client installation.

This commit is contained in:
Emiliano Vavassori 2015-09-13 20:50:04 +02:00
parent ede63b9676
commit 3cb84a6087
1 changed files with 5 additions and 0 deletions

View File

@ -32,6 +32,11 @@
shell: "test -f /etc/epoptes/server.crt || /usr/sbin/epoptes-client -c"
sudo: yes
when: role == 'client' and epo_srv_name|changed
register: crt_epo_srv
- name: Riavvio il client alla ricezione di un certificato.
shell: /bin/true
when: role == 'client' and crt_epo_srv|changed
notify:
- reboot