mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 11:51:26 -07:00
Merge pull request #4758 from alanfairless/group-host-var-dirs
Support organizing group and host variables across multiple files in a directory
This commit is contained in:
commit
0f0a89b34e
2 changed files with 119 additions and 36 deletions
|
@ -90,6 +90,10 @@ if getattr(sys, "real_prefix", None):
|
|||
else:
|
||||
DIST_MODULE_PATH = '/usr/share/ansible/'
|
||||
|
||||
# check all of these extensions when looking for yaml files for things like
|
||||
# group variables
|
||||
YAML_FILENAME_EXTENSIONS = [ "", ".yml", ".yaml" ]
|
||||
|
||||
# sections in config file
|
||||
DEFAULTS='defaults'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue