12 Commits

Author SHA1 Message Date
Sorin Sbarnea
c7006fc49d Upgrade molecule to 3.0
Makes changes required by molecule v3.0.0

Change-Id: I7669145ce9eef0bbda662df11426be326d5f3f5e
2020-02-20 14:04:28 +00:00
Kevin Carter
67ce344e30 Rename all roles that have a hyphen
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>
2020-01-21 20:42:40 -06:00
Kevin Carter (cloudnull)
1fe4b7f19b Revert "Revert "Update install path for roles and plugins""
This reverts commit I2f24738cf7ec13230e1111f4cc209e4843b416a4.

Depends-On: I1bf74a4fb0adcae632c06b38e06a572ebc434201
Change-Id: I2822aaf51163d38282f9b5f07ee93a4d9c01c9ba
Signed-off-by: Kevin Carter <kecarter@redhat.com>
2019-08-26 17:34:28 +00:00
Kevin Carter (cloudnull)
4d86b5c35c Revert "Update install path for roles and plugins"
This reverts commit bf61a6fc11765f2596faa3c9a26982f0caa6032e.

Change-Id: I2f24738cf7ec13230e1111f4cc209e4843b416a4
2019-08-26 16:37:58 +00:00
Kevin Carter
bf61a6fc11
Update install path for roles and plugins
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>
2019-08-26 07:57:52 -05:00
Sagi Shnaidman
add4969e6b Fix setup.py for symlinked tripleo-docker-rm
setup.py doens't handle symlinks, so copy files explicitly
Closes-Bug: #1836145
Change-Id: I02a0e95519ac33ca15b36aaef3f40f61ad10217b
2019-07-11 10:42:13 +00:00
Kevin Carter
cb27b41679
Namespace the install path
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>
2019-06-19 11:48:30 -05:00
Kevin Carter
d7163861f2 Update project structure
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>
2019-06-05 14:27:22 +00:00
zhulingjie
a6f9b1551b Replace git.openstack.org URLs with opendev.org URLs
Change-Id: I76c2e6651b6b9e4f22470aaf820d98f2e2459e38
Closes-Bug: #1825929
2019-04-28 14:12:46 +08:00
Jill Rouleau
e6ea28fb9f Restructure tripleo-ansible repo layout
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
2018-12-05 16:58:27 -07:00
Sam Doran
2936284fed Use generic names for container platform
- Add Zuul config
- Correct a few minor things in tox.ini
- add ansible-requirements.txt
- add .gitignore

Change-Id: Iac67338a6cd9a088bc0fbf0b3e6baff448530878
2018-10-02 10:10:53 -04:00
Jill Rouleau
446ac8aed2 Initial repo content
Required package files and basic ops playbooks.
2018-07-17 16:36:40 -07:00