Setup is now 'handled'
parent
332e28a9d7
commit
10bd837f54
|
@ -15,3 +15,6 @@
|
||||||
name: nginx
|
name: nginx
|
||||||
state: restarted
|
state: restarted
|
||||||
when: ansible_distribution == "FreeBSD"
|
when: ansible_distribution == "FreeBSD"
|
||||||
|
|
||||||
|
- name: setup
|
||||||
|
action: setup
|
||||||
|
|
|
@ -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
|
|
||||||
|
|
Loading…
Reference in New Issue