mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-03 23:14:02 -07:00
Added rough sketch of what I want for playbook support. Debug heavy at the moment
as I figure out how logging/output might look. A couple of major TODO features also listed in the file.
This commit is contained in:
parent
2fc109b47a
commit
43f7dee247
3 changed files with 116 additions and 24 deletions
|
@ -1,12 +1,12 @@
|
|||
- pattern: '*.prod.example.com'
|
||||
- pattern: '*'
|
||||
tasks:
|
||||
- do:
|
||||
- update apache (note: service module TBD)
|
||||
- update apache
|
||||
- command
|
||||
- [/usr/bin/yum, update, apache]
|
||||
onchange:
|
||||
- do:
|
||||
- restart apache (note: service module TBD)
|
||||
- restart apache
|
||||
- command
|
||||
- [/sbin/service, apache, restart]
|
||||
- do:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue