Skip to content

Commit

Permalink
don't use the global collections by default
Browse files Browse the repository at this point in the history
Since this installs its own collections, let's avoid stomping on things
with other work the user might have going on.
  • Loading branch information
cardoe authored and cloudnull committed Jan 30, 2024
1 parent 9660fcf commit 8408ae4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -120,5 +120,6 @@ tmp.md
# Ansible collection files
kubernetes_sigs-kubespray*tar.gz
ansible_collections
ansible/playbooks/collections

kustomize/**/all.yaml
2 changes: 2 additions & 0 deletions ansible/playbooks/ansible.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8408ae4

Please sign in to comment.