Re: [ansible-project] Ansible and name resolution

2015-02-21 Thread Jan-Piet Mens
nice! Submitted as PR #10311 https://github.com/ansible/ansible/pull/10311 IMO, dnstxt.py should be removed, and the docs updated to say Users of the previously-available `dnstxt` lookup-plugin should migrate to `dig` by changing lookup('dnstxt', 'example.com')

Re: [ansible-project] Ansible and name resolution

2015-02-20 Thread Brian Coca
nice! -- Brian Coca -- 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 post to this group, send email to

Re: [ansible-project] Ansible and name resolution

2015-02-20 Thread Jan-Piet Mens
Using the 'pipe' lookup you can use the output of a command, e.g. dig +short my.dns.name Charles' question, and Serge's response prompted me to finally get something done about this. Test at your own risk. [1] ;-) -JP [1]

Re: [ansible-project] Ansible and name resolution

2015-02-19 Thread Serge van Ginderachter
Using the 'pipe' lookup you can use the output of a command, e.g. dig +short my.dns.name http://docs.ansible.com/playbooks_lookups.html#more-lookups On 19 February 2015 at 01:00, Charles Brown charlie...@gmail.com wrote: Hello, How do I perform name-to-IP lookups form within ansible YAML?

Re: [ansible-project] Ansible and name resolution

2015-02-19 Thread Charles Brown
Apologies for double post. Didn't realize forum was moderated for first posters. On Thu, Feb 19, 2015 at 12:32 AM, Serge van Ginderachter se...@vanginderachter.be wrote: Using the 'pipe' lookup you can use the output of a command, e.g. dig +short my.dns.name

[ansible-project] Ansible and name resolution

2015-02-18 Thread Charles Brown
Hello, How do I perform name-to-IP lookups form within ansible YAML? Or even better, a Jinja template? Thanks. -- 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