diff --git a/playbooks/playlet-test.yml b/playbooks/playlet-test.yml new file mode 100644 index 0000000000..78a872a8bc --- /dev/null +++ b/playbooks/playlet-test.yml @@ -0,0 +1,21 @@ +# requires --extra-vars="target='host1;host2;group etc' + +- name: run a playley + hosts: $target + user: root + gather_facts: false + vars_files: + - /srv/web/infra/ansible/vars/global.yml + - $private/vars.yml + + tasks: + - name: populate my target group + action: add_host groupname=parent_group hostname=$item + with_items: $hosts + +- include: $basedir/playlets/test/book.yml + + + + +