- name: Enabling nginx sites according to group and host_vars
file: >
src=/etc/nginx/sites-available/{{ item }}
dest=/etc/nginx/sites-enabled/{{ item }}
state=link
with_items: random_var
when: random_var
notify:
- reload nginx--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/a3f9f779-be19-4745-8d57-b51d37359051%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.