From 9d0051063fb2a8133a22bc817da0a7f7187aeecf Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Thu, 23 May 2013 19:34:07 +0000 Subject: [PATCH] remove the old playlets detritus and explain that this is for ansible 1.2 and uponly --- roles/README | 36 +----------------------------------- roles/test/book.yml | 12 ------------ roles/test/files/foo | 2 -- roles/test/vars/vars.yml | 2 -- 4 files changed, 1 insertion(+), 51 deletions(-) delete mode 100644 roles/test/book.yml delete mode 100644 roles/test/files/foo delete mode 100644 roles/test/vars/vars.yml 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