All roles that have a hyphen in them need to be renamed to use an
underscore. This change creates a symlink to all roles using their
original name which will ensure we maintain compatibility with
the rest of the TripleO stack. This is being done because roles with
hyphens are no longer valid within collections.
A temp PBR update has been made to accomodate all of the symlinks to
the legacy role names.
[0] https://docs.ansible.com/ansible/devel/dev_guide/developing_collections.html#roles-directory
Change-Id: Id00a3670351990e5489a297c4c7200f8c05af096
Signed-off-by: Kevin Carter <kecarter@redhat.com>
This reverts commit I2f24738cf7ec13230e1111f4cc209e4843b416a4.
Depends-On: I1bf74a4fb0adcae632c06b38e06a572ebc434201
Change-Id: I2822aaf51163d38282f9b5f07ee93a4d9c01c9ba
Signed-off-by: Kevin Carter <kecarter@redhat.com>
This change updates the install path for roles and plugins making it so
these resources are always available whenever `ansible` commands are
invoked.
Change-Id: I00f6a71424882115fa0c765142c03797d9daa285
Signed-off-by: Kevin Carter <kecarter@redhat.com>
The path where we're installing content currently conflicts with
existing path's from existing tripleo repositories. This creates
a conflict as content is likely to exist in more than one
repository while we migrate things to tripleo-ansible. To ensure
we're not creating conflict all of the tripleo-ansible installed
content will now be moved into a namespaced directory.
Change-Id: Iedbf9d1034ee3396d6cb064c64169c21ebcf3e18
Signed-off-by: Kevin Carter <kecarter@redhat.com>
This change updates the project structure to reflect the documented
ansible best practice when creating projects [0].
* setup.cfg has been updated to ensure this package installs all of the
libs and playbooks into the correct on system locations.
With this change we should be able to begin collecting content throughout
the tripleo ecosystem.
[0] - https://docs.ansible.com/ansible/latest/user_guide/playbooks_best_practices.html#directory-layout
Change-Id: If3ca66befee3f82f462a8fc00984698e26cc7e9b
Signed-off-by: Kevin Carter <kecarter@redhat.com>
pbr doesn't support *yml type globs in the root of the repo, so
rather than require developers to manually add every playbook
ever added to this repo to setup.cfg, move the contents that make
up a typical ansible "project" to a single subdir of the repo root.
Fixes bz:1645311
Change-Id: I5dfb230370204cc14b935208697a87b86ce53a2f
- Add Zuul config
- Correct a few minor things in tox.ini
- add ansible-requirements.txt
- add .gitignore
Change-Id: Iac67338a6cd9a088bc0fbf0b3e6baff448530878