aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2022-01-11 03:04:31 +0000
committerGravatar Joe Banks <[email protected]>2022-01-11 03:09:33 +0000
commitb0627a9953d136e888a68eef80276e6eed2315fb (patch)
tree9a07b31eb24a09f6e3294401c5b3f5b85ff4160c
parentResolve inventory hostnames with dnspython when injecting to /etc/hosts (diff)
Add dnspython to requirements.txt
The lookup('dig', '...') function requires dnspython to be installed on the local machine so that queries can be processed. We're now using this to resolve the FQDNs of machines to IPs to inject into /etc/hosts.
-rw-r--r--requirements.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/requirements.txt b/requirements.txt
index 4112fa7..115e089 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,3 +1,4 @@
ansible
ansible-lint[yamllint]
pre-commit
+dnspython