From 07a23588c104d99ffbd7d1e154dbb336c958f6f0 Mon Sep 17 00:00:00 2001 From: Dan Prince Date: Wed, 29 Aug 2018 15:46:29 -0400 Subject: [PATCH] Fix the roles_path to actually work in a venv Change-Id: I5c5ec734b6656de151fbf69cfe4be571772fa857 --- ansible.cfg | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ansible.cfg b/ansible.cfg index 43771d1..ef481c3 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -5,8 +5,7 @@ retry_files_enabled = False callback_whitelist = profile_tasks # Attempt to load custom modules whether it's installed system-wide or from a virtual environment -roles_path = roles:$VIRTUAL_ENV/usr/share/ansible/roles/tripleo-modify-image:$VIRTUAL_ENV/usr/local/share/ - +roles_path = roles:$VIRTUAL_ENV/usr/share/ansible/roles/tripleo-modify-image:$VIRTUAL_ENV/share/ansible/roles/ [ssh_connection] control_path = %(directory)s/%C