when I run ansible-playbook task,
each instance results are shown with *private ip.*
(also I used  aws dynamic inventory)

like this....

SSH password:

PLAY [all] 
********************************************************************

TASK: [check tomcat status] 
***************************************************
changed: [10.248.64.31]

PLAY RECAP 
********************************************************************
10.248.64.31               : ok=1    changed=1    unreachable=0    failed=0


is there any solution that represent with *aws tag_Name* like below

SSH password:

PLAY [all] 
********************************************************************

TASK: [check tomcat status] 
***************************************************
changed: [webserver1]

PLAY RECAP 
********************************************************************
webserver1               : ok=1    changed=1    unreachable=0    failed=0


* aws 10.248.64.31 tag key is  Name and value is webserver1

-- 
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/43cc07e7-b7da-4cd7-8af5-3e001c0858ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to