mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-21 11:34:15 -07:00
Add yum module to examples + playbook examples
This commit is contained in:
parent
8bf7e79ee3
commit
a13def0fbe
8 changed files with 36 additions and 9 deletions
|
@ -216,6 +216,8 @@ server group, then more commands back on the webservers group, etc:</p>
|
|||
user: root
|
||||
tasks:
|
||||
- include: base.yml somevar=3 othervar=4
|
||||
- name: ensure apache is installed
|
||||
action: yum pkg=httpd state=installed
|
||||
- name: write the apache config file
|
||||
action: template src=/srv/httpd.j2 dest=/etc/httpd.conf
|
||||
notify:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue