FYI, I didn't find a way to do this but worked around by creating a ad-hoc 
group with add_host.

Op dinsdag 1 maart 2016 08:57:01 UTC+1 schreef Daan Hoogland:
>
> LS,
>
> When a play I write changes the adres or name by which a host is adressed 
> (i.e. ansible_host value) is it possible to tell ansible to use a new value 
> for this target from there on? I am trying to recreate an instance in a 
> cloud. after the recreation some simple lineinfile, user, authorized_key 
> and package tasks need to be performed.
>
> regards,
> Daan
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/f5213b2e-c99b-44de-9188-478b7f2b2f4b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to