Commit Graph

10 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov a4fa93cf18 Update role metadata
Change-Id: Iec6864515436c2751e3e27c177045a876927ac05
2023-07-12 13:14:13 +02:00
Jonathan Rosser 384fd4f32d Remove references to unsupported operating systems
All references to Gentoo, SUSE, Debian stretch and Centos-7  are removed.
Conditional tasks, ternary operators and variables are simplified where possible
OS specific variables files are generalised where possible

Change-Id: I1289053aec91b447e2b0028aa5553a9d86de8abb
2021-03-17 09:17:43 +00:00
Jean-Philippe Evrard 93933fa055 Clarify supported SUSE versions
This role only support openSUSE Leap 15, not 42.3, not tumbleweed.
Saying all is confusing and a bad practice. This fixes it, while
ensuring the job is properly defined to test that assertion.

Change-Id: I5b8bb8303c5b0350ad95b43de99a46c167cf924d
2019-05-22 13:36:52 +00:00
Mohammed Naser 745ba7c983 debian: add ci and update meta
This patch adds the Debian jobs for this role to make sure
it's always passing as well as updates the meta to reflect
it's support of Debian accordingly.

Depends-On: I135ea73604890eae5e9e2a7cdcab81b2b39ad426
Change-Id: I3c6fb17b23104bb71241bae55f778378be4ce6cc
2019-04-06 19:08:15 -04:00
Jonathan Rosser d52721067d Add bionic to galaxy_info metadata
Change-Id: If47d0cb744a5b9fffa7f5d9eab4002e22ee1aaaa
2018-08-02 15:19:35 +01:00
Jean-Philippe Evrard c6d220d9c5 Add Bionic testing
Now that bionic testing is added into the tests repos, we can
start testing it in the repo.

Depends-On: https://review.openstack.org/#/c/566959/
Change-Id: I156d707ca1af01fede81bfa75a68f0220f33e1b5
2018-05-14 20:57:36 +02:00
Jean-Philippe Evrard 2c32ed5b48 Add OpenStack-Ansible metadata
We need to add openstack ansible information in the role
metadata to be able to track role maturity. With it,
we can create a role maturity table and take decisions about
role deprecations.

Change-Id: I7039ec939117474996768cd2bf8677c287c24849
2017-10-11 08:36:24 +00:00
Markos Chandras fb98ad8d7b meta: Add CentOS and openSUSE as supported distributions
There is no distro specific code in this role so add CentOS and
openSUSE as supported distributions. This also updates the bindep.txt
run_tests.sh and Vagrantfile files from the openstack-ansible-tests
repository.

Change-Id: Iadc48f25573902fe15f40404e130db58e2f08f8c
2017-03-31 10:30:44 +01:00
Andy McCrae 62b9af4d54 Remove Trusty support from openstack_openrc role
Change-Id: I5c8fb73d58950f3984030f00f5390598e0e9ff35
Implements: blueprint trusty-removal
2016-12-15 12:38:11 +00:00
Kevin Carter 34b5861a86 Convert existing roles into galaxy roles
This change implements the blueprint to convert all roles and plays into
a more generic setup, following upstream ansible best practices.

Items Changed:
* All tasks have tags.
* All roles use namespaced variables.
* All redundant tasks within a given play and role have been removed.
* All of the repetitive plays have been removed in-favor of a more
  simplistic approach. This change duplicates code within the roles but
  ensures that the roles only ever run within their own scope.
* All roles have been built using an ansible galaxy syntax.
* The `*requirement.txt` files have been reformatted follow upstream
  Openstack practices.
* Dynamically generated inventory is now more organized, this should assist
  anyone who may want or need to dive into the JSON blob that is created.
  In the inventory a properties field is used for items that customize containers
  within the inventory.
* The environment map has been modified to support additional host groups to
  enable the seperation of infrastructure pieces. While the old infra_hosts group
  will still work this change allows for groups to be divided up into seperate
  chunks; eg: deployment of a swift only stack.
* The LXC logic now exists within the plays.
* etc/openstack_deploy/user_variables.yml has all password/token
  variables extracted into the separate file
  etc/openstack_deploy/user_secrets.yml in order to allow seperate
  security settings on that file.

Items Excised:
* All of the roles have had the LXC logic removed from within them which
  should allow roles to be consumed outside of the `os-ansible-deployment`
  reference architecture.

Note:
* the directory rpc_deployment still exists and is presently pointed at plays
  containing a deprecation warning instructing the user to move to the standard
  playbooks directory.
* While all of the rackspace specific components and variables have been removed
  and or were refactored the repository still relies on an upstream mirror of
  Openstack built python files and container images. This upstream mirror is hosted
  at rackspace at "http://rpc-repo.rackspace.com" though this is
  not locked to and or tied to rackspace specific installations. This repository
  contains all of the needed code to create and/or clone your own mirror.

DocImpact
Co-Authored-By: Jesse Pretorius <jesse.pretorius@rackspace.co.uk>
Closes-Bug: #1403676
Implements: blueprint galaxy-roles
Change-Id: I03df3328b7655f0cc9e43ba83b02623d038d214e
2015-02-18 10:56:25 +00:00