Move roles into a standard directory layout
This change adopts the same directory layout as tripleo-ansible[1] in preparation for the metalsmith repo containing ansible plugins such as modules. Like in tripleo-ansible, the roles directory becomes a symlink to the new roles location so that ansible can discover the role without having to install. [1] https://opendev.org/openstack/tripleo-ansible/src/branch/master/tripleo_ansible Change-Id: I34114e653a0714cb5991672af1192e9fad95ea6b
This commit is contained in:
parent
72072cd509
commit
53636ba03c
|
@ -1 +1 @@
|
||||||
.. include:: ../../../roles/metalsmith_deployment/README.rst
|
.. include:: ../../../metalsmith_ansible/roles/metalsmith_deployment/README.rst
|
||||||
|
|
|
@ -26,7 +26,7 @@ packages =
|
||||||
metalsmith
|
metalsmith
|
||||||
|
|
||||||
data_files =
|
data_files =
|
||||||
share/ansible/roles/metalsmith_deployment = roles/metalsmith_deployment/*
|
share/ansible/roles/ = metalsmith_ansible/roles/*
|
||||||
|
|
||||||
[entry_points]
|
[entry_points]
|
||||||
console_scripts =
|
console_scripts =
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -44,7 +44,7 @@ passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY \
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
commands =
|
commands =
|
||||||
flake8 metalsmith
|
flake8 metalsmith
|
||||||
doc8 README.rst doc/source roles
|
doc8 README.rst doc/source metalsmith_ansible/roles
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
deps =
|
deps =
|
||||||
|
|
Loading…
Reference in New Issue