mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-02-24 09:03:29 +07:00
Setup is now 'handled'
This commit is contained in:
@@ -15,3 +15,6 @@
|
||||
name: nginx
|
||||
state: restarted
|
||||
when: ansible_distribution == "FreeBSD"
|
||||
|
||||
- name: setup
|
||||
action: setup
|
||||
|
||||
@@ -89,8 +89,4 @@
|
||||
src: etc/ansible/facts.d/nginx.fact.j2
|
||||
dest: /etc/ansible/facts.d/nginx.fact
|
||||
mode: 0644
|
||||
register: fact
|
||||
|
||||
- name: SETUP
|
||||
action: setup
|
||||
when: fact.changed
|
||||
notify: ['setup']
|
||||
|
||||
Reference in New Issue
Block a user