On Wednesday, October 23, 2013 5:47:12 PM UTC+2, Nicolas G wrote:
>
> After successfuly creating a new RDS instance I'm still not able to get
> the endpoint address in the playbook :
>
> """
> - name: get RDS instance facts
> local_action: rds command=facts instance_name={{ instance_name }}
> region={{ region }}
> register: rds
>
> # RDS creation can take a long time for the status to be ready casuing
> problems for the
> - name: RDS endpoint is --> {{ rds.endpoint }}
> debug: msg=" RDS endpoint is --> {{ rds.endpoint }}"
> """
>
Since it also kept me stuck for a few moments: the solution is to query rds.
*instance*.endpoint instead of rds.endpoint.
--
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/92d64812-8b48-4db9-8219-cbca2d472ba3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.