remote playlet test since this is all about roles
This commit is contained in:
parent
30af917642
commit
7f4c86dfa0
1 changed files with 0 additions and 21 deletions
|
@ -1,21 +0,0 @@
|
|||
# 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
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue