From 61ac5621c60f3fe794552906cb1804b4c905aa31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Sachse?= <Joerg.Sachse@slub-dresden.de> Date: Fri, 23 Oct 2020 13:50:56 +0200 Subject: [PATCH] fix: set roles_path to be more inclusive so roles will work even if they're checked out to a non-standard path --- ansible.cfg | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ansible.cfg b/ansible.cfg index 7a672be..e5fabd3 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 -- GitLab