roles/ipaserver/library/ipaserver_test: Return dns.ip_adresses and dns.reverse_zones

These global variables are initialized in the dns module in the
dns.install_check function. The settings are needed to be able to do a
proper dns setup in the ipaserver_setup_dns ansible module.
This commit is contained in:
Thomas Woerner
2017-12-08 13:39:36 +01:00
parent e215b67dbc
commit c5462d4aac
3 changed files with 14 additions and 1 deletions

View File

@@ -772,7 +772,10 @@ def main():
forwarders=options.forwarders,
### additional ###
_installation_cleanup=_installation_cleanup,
domainlevel=options.domainlevel)
domainlevel=options.domainlevel,
dns_ip_addresses=[ str(ip) for ip
in dns.ip_addresses ],
dns_reverse_zones=dns.reverse_zones)
if __name__ == '__main__':
main()