diff --git a/roles/README b/roles/README index 47808aa55b..e701682478 100644 --- a/roles/README +++ b/roles/README @@ -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: - - -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 - - - \ No newline at end of file +Space for our ansible roles - ansible 1.2 and above only diff --git a/roles/test/book.yml b/roles/test/book.yml deleted file mode 100644 index 2e7ba81d96..0000000000 --- a/roles/test/book.yml +++ /dev/null @@ -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 - diff --git a/roles/test/files/foo b/roles/test/files/foo deleted file mode 100644 index 4f41d26438..0000000000 --- a/roles/test/files/foo +++ /dev/null @@ -1,2 +0,0 @@ -this is foo -it should end up in /tmp diff --git a/roles/test/vars/vars.yml b/roles/test/vars/vars.yml deleted file mode 100644 index fb4b5f0414..0000000000 --- a/roles/test/vars/vars.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -myfile: foo