diff --git a/ansible.cfg b/ansible.cfg index 7a672be8f2a6fe523dc83e9c13810ab2f255d7ac..e5fabd30e7c5951a65213017cbe0d25112a403d9 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -21,6 +21,10 @@ strategy = free # Set to 1 if you don't want cowsay support or export ANSIBLE_NOCOWS=1 nocows = 1 +# Custom role path that guarantees roles are always found, no matter where a +# user checks them out. +roles_path = ../:~/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles + [inventory] # Ignore these extensions when parsing a directory as inventory source. ignore_extensions = .pyc, .pyo, .swp, .bak, ~, .rpm, .md, .txt, ~, .orig, .ini, .cfg, .retry