From 8c08dc5b84c3be9ff01fa91740991720fe340f8c Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Mon, 22 Jan 2024 10:35:52 -0600 Subject: [PATCH] don't use the global collections by default Since this installs its own collections, let's avoid stomping on things with other work the user might have going on. --- ansible/playbooks/ansible.cfg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ansible/playbooks/ansible.cfg b/ansible/playbooks/ansible.cfg index 8f63e44c..a113a780 100644 --- a/ansible/playbooks/ansible.cfg +++ b/ansible/playbooks/ansible.cfg @@ -15,6 +15,8 @@ callbacks_enabled = profile_tasks deprecation_warnings = False inventory_ignore_extensions = ~, .orig, .bak, .ini, .cfg, .retry, .pyc, .pyo, .creds, .gpg, .example enable_plugins = host_list, script, auto, yaml, ini, toml +# install and use local collections instead of global +collections_paths = ./collections/ansible_collections [inventory] ignore_patterns = artifacts, credentials