felixfontein.tools.wait_for_txt – Wait for TXT entries to be available on all authoritative nameservers¶
Note
This plugin is part of the felixfontein.tools collection (version 1.4.1).
To install it use: ansible-galaxy collection install felixfontein.tools
.
To use it in a playbook, specify: felixfontein.tools.wait_for_txt
.
New in version 1.4.0: of felixfontein.tools
Synopsis¶
Wait for TXT entries with specific values to show up on all authoritative nameservers for the DNS name.
Requirements¶
The below requirements are needed on the host that executes this module.
dnspython >= 1.15.0 (maybe older versions also work)
Parameters¶
Examples¶
- name: Wait for a TXT entry to appear
felixfontein.tools.wait_for_txt:
records:
# We want that www.example.com has a single TXT record with value 'Hello world!'.
# There should not be any other TXT record for www.example.com.
- name: www.example.com
values: "Hello world!"
mode: equals
# We want that example.com has a specific SPF record set.
# We do not care about other TXT records.
- name: www.example.com
values: "v=spf1 a mx -all"
mode: subset
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Felix Fontein (@felixfontein)