enable nginx service
This commit is contained in:
parent
45a2c3e465
commit
2b1c1cd89e
1 changed files with 7 additions and 5 deletions
|
@ -6,10 +6,12 @@ nginx_pkg:
|
|||
- pkgs:
|
||||
- nginx
|
||||
|
||||
nginx_service:
|
||||
service.running:
|
||||
- name: nginx
|
||||
- running: True
|
||||
- require:
|
||||
- nginx_pkg
|
||||
|
||||
{% for profile in profiles %}
|
||||
|
||||
nginx_{{ profile }}_test:
|
||||
cmd.run:
|
||||
- name: echo "{{ profile }}"
|
||||
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in a new issue