Skip to content

Commit

Permalink
Ignore playbooks directory when loading vars
Browse files Browse the repository at this point in the history
  • Loading branch information
Szpadel authored and krisdante committed Apr 22, 2022
1 parent d88b2b3 commit 9392f2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vars_plugins/mageops_vars.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def get_vars(self, loader, path, entities, cache=True):
found_files = loader.find_vars_files(config_dir_path, config_type, allow_dir=True)

for found in found_files:
if re.search(r'/(tasks|certs|certificates|files|templates|resources|roles)/', found):
if re.search(r'/(tasks|certs|certificates|files|templates|resources|roles|playbooks)/', found):
continue

self._display.vv("Loading MageOps configuration file: %s" % (found))
Expand Down

0 comments on commit 9392f2d

Please sign in to comment.