2014-05-08 0:28 GMT+04:00 Joost Cassee <[email protected]>:
Hi,
[...]
> - name: Create A record for domain {{ domain }}
>
> Unfortunately, the variable interpolation does not work well, it seems to go
> only one "level" deep. This is the output:
>
> TASK: [dns | Create A record for {{website_domain}}]
> ******************************
> ok: [web1.example.com]
Have you tried with
- name: Create A record {{domain}}
route53: command=create zone=example.com record={{ domain }} type=A
value={{ ip }}
?
Because based on output above you used website_domain variable which
isn't available inside role.
--
Slava Semushin
--
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/CA%2B_QfTsHmThOqQtRor4XAkcjG9%3Dfs5vtP07xJUqxntDM7j%3Dhaw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.