chore(ansible-config): also define collections path for ansible-lint
This fixes the local ansible-lint run.
This commit is contained in:
parent
1b66ab22e5
commit
79dabffd40
2 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
||||||
[defaults]
|
[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
|
inventory = ./inventory
|
||||||
retry_files_enabled = false
|
retry_files_enabled = false
|
||||||
vault_password_file = .vault_pass
|
vault_password_file = .vault_pass
|
||||||
|
|
|
@ -2,3 +2,4 @@
|
||||||
# Otherwise ansible-lint always tries to get a vault password and fails.
|
# Otherwise ansible-lint always tries to get a vault password and fails.
|
||||||
[defaults]
|
[defaults]
|
||||||
roles_path = ./roles:~/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles
|
roles_path = ./roles:~/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles
|
||||||
|
collections_path = ./collections:~/.ansible/collections:/usr/share/ansible/collections:/etc/ansible/collections
|
||||||
|
|
Loading…
Add table
Reference in a new issue