On Fri, Feb 21, 2020, at 1:33 PM, Amit Juneja wrote:
> Hi everyone,
> 
> I would appreciate if you could please look at my issue below and 
> provide your suggestions -
> 
> GOAL - Identify if the data in lower environment is scrambled.
> 
> Steps - 
> 1. Identify all lower environment and form sql query of random records 
> to run in PROD
> 2. Dynamically identify the prod server IP address
> 3. Run the sql query from lower environment task on PROD server
> 
> Steps 1 and 2 are working fine, but in the playbook if I use 
> "delegate_to" with prod server ip (identified as part of step 2), it 
> fails.
> 

Make sure the host is in your inventory, or try add_host to get it there.

V/r,
James Cassell

-- 
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/5373ed9f-6fe5-4906-858f-4d1f591a4ba4%40www.fastmail.com.

Reply via email to