Commit Graph

18 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov e44c99e64a 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.

Change-Id: Ib390f06177fbac77a4285e3be86e6461fd769597
2023-07-14 19:36:45 +02:00
Jonathan Rosser 99f087d2e3 Use ansible_facts[] instead of fact variables
See https://github.com/ansible/ansible/issues/73654

Change-Id: Iafcd10d169b9515846293731ca1e5b8a7ffb5fe1
2021-03-16 08:15:55 +00:00
Jonathan Rosser c1edfb23bc 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: Ia09789da8c8137c982dcd7560fe61a98a07309e7
2021-03-10 12:16:40 +00:00
Jean-Philippe Evrard 83b5bf4e56 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: I4d86070e9e52ed97ce890c3366967263559c04d7
2019-06-05 07:43:18 +00:00
Guilherme Steinmüller 7e2a78b63a 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: I8debfdc1a27349c881ee4f7600a08e94c323de78
2019-04-09 17:01:26 +00:00
Jesse Pretorius 097efb69a7 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: Iceb7704a555a04d48f8298c9cb717cc696f9e6f0
2018-09-16 03:26:32 +00:00
Jonathan Rosser 7be409bfbc Add bionic to galaxy_info metadata
Change-Id: I57ec670857cda03fe6398c9de55ba26f13c5c45e
2018-08-02 15:04:49 +01:00
Jean-Philippe Evrard a3035d9372 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: I5ce8640cfb86af34694a0b8e308a5aa95cea8eaa
2017-12-05 11:55:59 +00:00
Jean-Philippe Evrard 7fa4d657be 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: Ibd95d93c3ad1b754a49b6bc635f36fe8ee48d7b2
2017-10-11 09:06:21 +00:00
Jesse Pretorius fdc4458b74 Use package module to install distro packages
Consolidate distro package install tasks into a
single task using the package module. Tidy up
some other tasks to reduce task file sprawl and
consolidate some task actions.

The minimum Ansible version is raised to 2.2 due to a
known bug [1] in Ansible's apt module which does not
update the cache properly if the cache update and the
install are combined in a single task.

[1] https://github.com/ansible/ansible-modules-core/issues/1497

Change-Id: I95e02c2786b3a21b6188a5930fb827b6ab04fadb
2017-05-02 12:14:14 +00:00
Andy McCrae b4298aa857 Remove Trusty support from os_rally role
Change-Id: Ic7ca71ebdd3ede5e1c225a78e3f996874e946f8f
Implements: blueprint trusty-removal
2016-12-15 12:30:23 +00:00
Jesse Pretorius 284fe6373a Use updated get_url module checksum functionality
Starting in Ansible 2.0, the get_url [1] module provides the
ability for a checksum to be provided to the get_url module
which will be verified against the local destination file
and the task skipped if it matches.

[1] http://docs.ansible.com/ansible/get_url_module.html

This patch implements the use of this functionality.

The ability to ignore a venv download failure is also removed
as this is not necessary or desirable. It is better for the
download to fail and the playbook execution to stop immediately
so that the failure point is exposed.

Change-Id: Ic39e5dcdaa5ff9badb37b01e37097f5d8bdf6bac
2016-11-07 17:36:24 +00:00
Travis Truman a998779940 Implement Ubuntu 16.04 support
Just noting in the role metadata that the role supports Xenial

Change-Id: I70fba8cd35f13405a0261d3aafab4681f2ca3ebf
Implements: blueprint support-ubuntu-1604
2016-07-21 13:27:11 -04:00
Jimmy McCrory 717c085f63 Remove pip_lock_down dependency
The pip_install and pip_lock_down roles have been merged.

Remove pip_lock_down from the role's meta dependencies and test
requirements.

Change-Id: Idf70fd3e14254ae7b633ca2731388dec307597da
2016-06-20 12:26:09 -07:00
Travis Truman 6f9765682a Updating os_rally to use the Multi-Distro framework
Debian-specific vars and logic have been moved to tasks
that will execute only on those distributions.

Change-Id: I6a9d04382b1f1badebf12483ce7d1d02b43f8903
Implements: blueprint multi-platform-host
2016-05-27 10:04:51 -04:00
Travis Truman 692094c67c Configure the Rally deployment using environment variables 2016-03-28 14:16:44 -04:00
Travis Truman 82f43ad21f should not lock down pip when we are in developer mode 2016-03-25 13:58:05 -04:00
Travis Truman 1e6d9b3a46 Inital commit 2016-03-24 17:13:47 -04:00