]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph-mon: detect ANSIBLE_ROLES_PATH if present 1808/head
authorSébastien Han <seb@redhat.com>
Thu, 24 Aug 2017 14:19:39 +0000 (16:19 +0200)
committerSébastien Han <seb@redhat.com>
Thu, 24 Aug 2017 14:19:39 +0000 (16:19 +0200)
commit76ac9b077b0c239c584a9e677a4cf809cdd93f0d
treeea163c66686a45e9ada0ab8e767d1bf8b129c8ff
parentac818f5bbad23f7c7dc248e4048a2bfbc9cd4791
ceph-mon: detect ANSIBLE_ROLES_PATH if present

Some deployments can't copy infrastructure playbooks outside of the
infrastructure-playbooks directory. Thus they use ANSIBLE_ROLES_PATH to
overcome this. However some roles have 'playbook_dir' hardcoded, which
results in wrong path since the execution comes from
infrastructure-playbooks. Basically the role triggered by a playbook
from infrastructure-playbooks believes that the roles are in
infrastructure-playbooks/roles. This commit fixes that.

Signed-off-by: Sébastien Han <seb@redhat.com>
roles/ceph-mon/tasks/docker/main.yml
roles/ceph-nfs/tasks/pre_requisite.yml