service: | service: | ||||
- reload: True | - reload: True | ||||
- require: | - require: | ||||
- file: nginx_config | |||||
{{ file_requisites(server_states) }} | {{ file_requisites(server_states) }} | ||||
- listen: | - listen: | ||||
- file: nginx_config | |||||
{{ file_requisites(server_states) }} | {{ file_requisites(server_states) }} | ||||
{% endif %} | {% endif %} |