From a031a68f8b671925e78e51e1df9b65db768edb8e Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Thu, 25 Apr 2013 16:42:07 +0000 Subject: [PATCH] add pre-play to setup the right group --- playbooks/transient-post-provision.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/playbooks/transient-post-provision.yml b/playbooks/transient-post-provision.yml index 4c9c002b45..eeaf954dc3 100644 --- a/playbooks/transient-post-provision.yml +++ b/playbooks/transient-post-provision.yml @@ -1,5 +1,14 @@ +- name: add to group + hosts: lockbox01.phx2.fedoraproject.org + user: root + gather_facts: False + + tasks: + - name: add it to the special group + local_action: add_host hostname=$target groupname=tmp_just_created + - name: provision instance - hosts: $target + hosts: tmp_just_created user: root gather_facts: True