Hi,


I want to create a role that would do all of this tasks:

1. Create vm from template with preconfigured IP address

2. Modify vm parameters

3. Power up and wait for vm to be network reachable

4. Connect to newly created vm through template hardcoded IP and change its 
network settings


Now i don't want a static entry in inventory of vm template name and its ip 
as i want it both to be configured as role variable - in hosts i have 
specified only hypervisors IPs which it should run 1-3 tasks on but 
obviously the 4th task should be run on newly created VM reachable by 
templates IP. 

How can i make the 4th task run solely on the new vm?

What would we the best possible route to achieve this?

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/6290e625-db9a-4730-8f9b-fc5b258a0566%40googlegroups.com.

Reply via email to