Modificata regola per non togliere file temporaneo.

This commit is contained in:
Emiliano Vavassori 2015-04-16 03:57:08 +02:00
parent fb109d8cf0
commit 072bc045c6
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@
register: sudotmp
- name: Applicazione diritti utente Ansible
shell: visudo -q -c -f /etc/sudoers.tmp && cp -f /etc/sudoers.tmp /etc/sudoers && rm /etc/sudoers.tmp
shell: visudo -q -c -f /etc/sudoers.tmp && cp -f /etc/sudoers.tmp /etc/sudoers
when: sudotmp|changed
- name: Installazione chiave privata PC locale