Setup is now 'handled'

pull/35/head
Emilien Mantel 2017-10-26 15:50:59 +02:00
parent 332e28a9d7
commit 10bd837f54
2 changed files with 4 additions and 5 deletions

View File

@ -15,3 +15,6 @@
name: nginx name: nginx
state: restarted state: restarted
when: ansible_distribution == "FreeBSD" when: ansible_distribution == "FreeBSD"
- name: setup
action: setup

View File

@ -89,8 +89,4 @@
src: etc/ansible/facts.d/nginx.fact.j2 src: etc/ansible/facts.d/nginx.fact.j2
dest: /etc/ansible/facts.d/nginx.fact dest: /etc/ansible/facts.d/nginx.fact
mode: 0644 mode: 0644
register: fact notify: ['setup']
- name: SETUP
action: setup
when: fact.changed