Add yum module to examples + playbook examples

This commit is contained in:
Michael DeHaan 2012-03-10 11:40:49 -05:00
commit a13def0fbe
8 changed files with 36 additions and 9 deletions

View file

@ -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: