fedora-ansible/roles
Seth Vidal 142ac814c6 move playlets to roles 2013-04-08 18:56:16 +00:00
..
test move playlets to roles 2013-04-08 18:56:16 +00:00
README move playlets to roles 2013-04-08 18:56:16 +00:00

README

playlets are self-contained playbooks which are never intended to be
directly executed. They are only to be used as an 'include' from our other
playbooks.

All of these playbooks must have:


hosts: $parent_group

the general structure is:

playlet_name/
             vars/vars.yml
             files/myfile.conf
                   myfile2.conf.j2
             handlers/handlers.yml
             book.yml

             
             
                                    
template for book.yml
---
- name: give the play let a name
  hosts: $parent_group
  tags:
  - playlet_tag_name
  vars_files:
  - vars/somefile.yml

  tasks:
  - name: my task
    action: stuff which I do