Commit Graph

11 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov 4382257d3f Fix linters and metadata
With update of ansible-lint to version >=6.0.0 a lot of new
linters were added, that enabled by default. In order to comply
with linter rules we're applying changes to the role.

With that we also update metdata to reflect current state.

Depends-On: https://review.opendev.org/c/openstack/ansible-role-systemd_service/+/888223
Change-Id: I9aaf6680c274453a16b6f9879cf488ae2050e71f
2023-07-14 20:07:26 +02:00
Jonathan Rosser 6c7e6847b7 Use ansible_facts[] instead of fact variables
See https://github.com/ansible/ansible/issues/73654

Change-Id: I964783d5d992feff42021e5a3017d89326ea2e70
2021-03-16 08:22:12 +00:00
Jonathan Rosser f70d823db3 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: I68735b995fe1bce23edb8c092f2199fdde137acd
2021-03-10 12:16:40 +00:00
Jean-Philippe Evrard 750ef0e548 Clarify supported distro 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.

At the same time, this lists the CentOS support and updates the
ubuntu supported versions.

Change-Id: I8fd01b9184aa1471bb0a7f950cc802ceca57f506
2019-05-22 07:12:10 +00:00
Guilherme Steinmüller 75ada1c9ba debian: add support
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: I9a92b73c419a0dc1cca40dacfef75de61a61db94
Change-Id: I3b44f6df8ee613542468da3b49149d664e1e233f
2019-04-09 17:03:48 +00:00
Jesse Pretorius 6509a40293 Remove galera_client meta-dependency
Given that pymysql is pure python and has no C binding
dependencies, we no longer need the role to install the
MariaDB client libraries.

Change-Id: I0949900bb8575ba587ae15d063b721a0272e9a08
2018-09-15 16:44:24 -06:00
Jonathan Rosser cc88eaa94c Add bionic to galaxy_info metadata
Change-Id: I94905fa3f68b68457e650d15562ab416ebad0fdb
2018-08-02 15:06:08 +01:00
Jesse Pretorius e911fcf505 Execute service setup against a delegated host using Ansible built-in modules
In order to reduce the packages required to pip install on to the hosts,
we allow the service setup to be delegated to a specific host, defaulting
to the deploy host. We also switch as many tasks as possible to using the
built-in Ansible modules which make use of the shade library.

The 'virtualenv' package is now installed appropriately by the openstack_hosts
role, so there's no need to install it any more. The 'httplib2' package is a
legacy Ansible requirement for the get_url/get_uri module which is no longer
needed. The keystone client library is not required any more now that we're
using the upstream modules. As there are no required packages left, the task
to install them is also removed.

Change-Id: Ia6c57495b8d6090a0b98f17554288a310388c3e2
2018-07-14 14:25:03 +00:00
Jean-Philippe Evrard 7ac71c8edd Remove pip_install dependency
With addition of pip_install on every node, we don't
need to have pip_install as a meta dependency.

Depends-On: If3412bb888ebb854874bbc43eb76bfcb3e4a7868
Depends-On: I79ff70c438b44753be2a93f004ebbc46de0a963d
Change-Id: I908cc1cb0f972963f4102316cadf7d022bd1bfc0
2017-12-05 11:56:23 +00:00
Jean-Philippe Evrard f80d402f0c 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: I8a39dc2b5931f9eb1c75b1d7b439308b0f4d07d4
2017-10-11 09:09:01 +00:00
root bb87b62ea4 first commit 2016-09-20 19:19:12 +00:00