diff --git a/ansible.cfg b/ansible.cfg index 4c37a5f..25383ac 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -1,5 +1,7 @@ [defaults] -roles_path = ./roles:~/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles +roles_path = ./roles:$HOME/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles +collections_path = ./collections:$HOME/.ansible/collections:/usr/share/ansible/collections:/etc/ansible/collections + inventory = ./inventory retry_files_enabled = false vault_password_file = .vault_pass diff --git a/ansible.lint.cfg b/ansible.lint.cfg index 52aca12..d89d402 100644 --- a/ansible.lint.cfg +++ b/ansible.lint.cfg @@ -2,3 +2,4 @@ # Otherwise ansible-lint always tries to get a vault password and fails. [defaults] roles_path = ./roles:~/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles +collections_path = ./collections:~/.ansible/collections:/usr/share/ansible/collections:/etc/ansible/collections