Skip to content

Commit

Permalink
Add default_ipv4 to required_facts to gather ansible_hostname
Browse files Browse the repository at this point in the history
  • Loading branch information
spetrosi authored and richm committed Feb 13, 2024
1 parent 690816f commit d6bcc5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/tests_dyndns.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

- name: Ensure that the role configures dynamic dns
hosts: all,!ad
gather_facts: false
vars:
# if we don't have a real AD server, just verify the config
# file is written properly
Expand Down
1 change: 1 addition & 0 deletions vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ __ad_integration_required_facts:
- distribution_major_version
- distribution_version
- os_family
- default_ipv4
# the subsets of ansible_facts that need to be gathered in case any of the
# facts in required_facts is missing; see the documentation of
# the 'gather_subset' parameter of the 'setup' module
Expand Down

0 comments on commit d6bcc5c

Please sign in to comment.