Commit Graph

11 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov fc0da79db5 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: I7163d2e68b1f0f97bd31d7734a99f74ed60b1bb5
2023-07-14 18:33:14 +02:00
Dmitriy Rabotyagov 7582a27761 Drop apt_package_pinning from role requirements
We don't pin packages in masakari role, so dependency on
apt_package_pinning role can be safely removed.

Change-Id: Ife81410d59e8a646aab741bc1a5ef01784bf13b0
Related-Bug: #1979145
2023-04-13 21:32:23 +02:00
Jonathan Rosser 8884cbad52 Use ansible_facts[] instead of fact variables
See https://github.com/ansible/ansible/issues/73654

Change-Id: Ie827ed8b29b02fa268398be1c38b474a447d5c9d
2021-05-18 12:39:14 +00:00
Jonathan Rosser 9b4ac49fa9 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: Ia712d170740c748002aa44d921ade8750997f8f0
2021-05-18 12:39:00 +00:00
Dmitriy Rabotjagov b0edf0063e 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: Ic3718e0b7c866942592c52710cceab3c62c7df0d
2019-05-20 16:42:33 +03:00
Guilherme Steinmüller 7e13e5dffd 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: I520e73efeea6d9407ebaaf932a5c532ed36ee7c4
2019-04-09 17:01:01 +00:00
Jesse Pretorius 4b826abe05 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: I61442ebb445f2a517d9cdacb4ed12d016b9ee7da
2018-09-16 03:27:09 +00:00
Jonathan Rosser 308f57b808 Add bionic to galaxy_info metadata
Change-Id: Ie4035829397d19e6b6854232ee1390e01b3fbd3b
2018-08-02 16:13:05 +01:00
Jesse Pretorius faf5f262d5 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. The masakari client is not used on the host, so
it serves no purpose. As there are no required packages left, the task to
install them is also removed.

Change-Id: I5f4339b322b967fcfd326c7442d634abf8b6cb05
2018-07-12 17:42:15 +01:00
Jean-Philippe Evrard ab6cfd1ef1 Add Maskari base jobs
This introduces the most basic jobs for masakari.

Change-Id: Ie62ea7ec96b8963b5d3815a9241cce964e8fafc2
2018-05-08 15:39:48 +05:30
nirajsingh 130e4c0e29 First commit 2018-04-16 17:02:09 +05:30