Change cmd.wait to module.wait for platform independence
This commit is contained in:
parent
4c7b7233da
commit
950ce07185
@ -10,10 +10,10 @@ apache:
|
|||||||
- enable: True
|
- enable: True
|
||||||
|
|
||||||
apache-reload:
|
apache-reload:
|
||||||
cmd.wait:
|
module.wait:
|
||||||
- name: service apache2 reload
|
- name: service.reload {{ apache.service }}
|
||||||
|
|
||||||
apache-restart:
|
apache-restart:
|
||||||
cmd.wait:
|
module.wait:
|
||||||
- name: service apache2 restart
|
- name: service.restart {{ apache.service }}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user