mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-11-08 03:24:04 +07:00
Setup is now 'handled'
This commit is contained in:
1 parent
332e28a9d7
commit
10bd837f54
2 files changed
+4
-5
No files matched your search
@@ -15,3 +15,6 @@
|
||||
name: nginx
|
||||
state: restarted
|
||||
when: ansible_distribution == "FreeBSD"
|
||||
|
||||
- name: setup
|
||||
action: setup
|
||||
+1
-5
@@ -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