remove the old playlets detritus and explain that this is for ansible 1.2 and uponly

This commit is contained in:
Seth Vidal 2013-05-23 19:34:07 +00:00
parent 09abb18832
commit 9d0051063f
4 changed files with 1 additions and 51 deletions

View file

@ -1,36 +1,2 @@
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: Space for our ansible roles - ansible 1.2 and above only
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

View file

@ -1,12 +0,0 @@
---
- name: test playlet
hosts: parent_group
tags:
- playlet_tag_name
vars_files:
- vars/vars.yml
tasks:
- name: my task 1
action: copy src=files/${myfile} dest=/tmp/${myfile}.txt

View file

@ -1,2 +0,0 @@
this is foo
it should end up in /tmp

View file

@ -1,2 +0,0 @@
---
myfile: foo