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
|
||||
|
||||
apache-reload:
|
||||
cmd.wait:
|
||||
- name: service apache2 reload
|
||||
module.wait:
|
||||
- name: service.reload {{ apache.service }}
|
||||
|
||||
apache-restart:
|
||||
cmd.wait:
|
||||
- name: service apache2 restart
|
||||
module.wait:
|
||||
- name: service.restart {{ apache.service }}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user