diff --git a/ansible-role-requirements.yml b/ansible-role-requirements.yml index 23bc0d6110..f753699115 100644 --- a/ansible-role-requirements.yml +++ b/ansible-role-requirements.yml @@ -182,29 +182,9 @@ scm: git src: https://github.com/logan2211/ansible-resolvconf version: master -- name: ceph-defaults +- name: ceph-ansible scm: git - src: https://github.com/ceph/ansible-ceph-defaults - version: master -- name: ceph-common - scm: git - src: https://github.com/ceph/ansible-ceph-common - version: master -- name: ceph-config - scm: git - src: https://github.com/ceph/ansible-ceph-config - version: master -- name: ceph-mon - scm: git - src: https://github.com/ceph/ansible-ceph-mon - version: master -- name: ceph-mgr - scm: git - src: https://github.com/ceph/ansible-ceph-mgr - version: master -- name: ceph-osd - scm: git - src: https://github.com/ceph/ansible-ceph-osd + src: https://github.com/ceph/ceph-ansible version: master - name: opendaylight scm: git diff --git a/scripts/openstack-ansible.rc b/scripts/openstack-ansible.rc index 07e220dccc..d08b03cf8a 100644 --- a/scripts/openstack-ansible.rc +++ b/scripts/openstack-ansible.rc @@ -19,7 +19,7 @@ export ANSIBLE_INVENTORY="${ANSIBLE_INVENTORY:-OSA_INVENTORY_PATH/dynamic_invent export ANSIBLE_LOG_PATH="${ANSIBLE_LOG_PATH:-/openstack/log/ansible-logging/ansible.log}" mkdir -p "$(dirname ${ANSIBLE_LOG_PATH})" || unset ANSIBLE_LOG_PATH -export ANSIBLE_ROLES_PATH="${ANSIBLE_ROLES_PATH:-/etc/ansible/roles:OSA_PLAYBOOK_PATH/roles}" +export ANSIBLE_ROLES_PATH="${ANSIBLE_ROLES_PATH:-/etc/ansible/roles:OSA_PLAYBOOK_PATH/roles:/etc/ansible/roles/ceph-ansible/roles}" export ANSIBLE_LIBRARY="${ANSIBLE_LIBRARY:-/etc/ansible/roles/plugins/library}" export ANSIBLE_LOOKUP_PLUGINS="${ANSIBLE_LOOKUP_PLUGINS:-/etc/ansible/roles/plugins/lookup}" diff --git a/tox.ini b/tox.ini index 857364041d..b1ef8e28c9 100644 --- a/tox.ini +++ b/tox.ini @@ -27,7 +27,7 @@ setenv = PYTHONWARNINGS=default::DeprecationWarning VIRTUAL_ENV={envdir} WORKING_DIR={toxinidir} - ANSIBLE_EXTRA_ROLE_DIRS={toxinidir}/playbooks/roles + ANSIBLE_EXTRA_ROLE_DIRS={toxinidir}/playbooks/roles:{homedir}/.ansible/roles/ceph-ansible/roles ANSIBLE_ROLE_REQUIREMENTS_PATH={toxinidir}/ansible-role-requirements.yml TEST_PLAYBOOK={toxinidir}/tests/bootstrap-aio.yml {toxinidir}/playbooks/setup-everything.yml ANSIBLE_LINT_PARAMS=--exclude={homedir}/.ansible/roles