mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00: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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user