Commit Graph

13 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov d94e57f17b 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: Id8215882ee528d4c3055479e770c7432616649ba
2023-07-17 15:38:00 +02:00
Jonathan Rosser 082ad70c31 Use ansible_facts[] instead of fact variables
See https://github.com/ansible/ansible/issues/73654

Change-Id: Ifb8dfacf44ac5537dea5ee4480350e6c93c2450a
2021-03-16 10:38:55 +00:00
Jonathan Rosser 02051cb53a 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: I4153df38980650c726cc1a79320b22e1e07605cf
2021-03-10 12:16:39 +00:00
Jean-Philippe Evrard 9326307c88 Add openSUSE support
Change-Id: If43b8749fba60b9995adc601c23fb167a41cd129
2019-07-10 11:26:39 +00:00
Guilherme Steinmüller 48ab3f8bae 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: Idb2ec1248f22a039a723f513ce5cb88208a5fc4c
2019-04-09 17:02:26 +00:00
Jesse Pretorius 6049e572ee 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: I49dbf29176e95de9675039514952fbb00521b9aa
2018-09-15 16:41:03 -06:00
Zuul 37ef59b3e7 Merge "Add bionic to galaxy_info metadata" 2018-09-04 14:09:03 +00:00
Jesse Pretorius 14d5186079 Remove octavia_requires_pip_packages
In order to reduce the packages required to pip install on to the hosts,
we use service delegation to octavia_service_setup_host so that instead
of installing software on the target host, and putting credentials on
every target host, we isolate the software and credentials to a single
host.

In this patch we finally remove octavia_requires_pip_packages as it is
no longer required given that all services use delegation to the
octavia_service_setup_host now. We also remove the task which used to
install them.

We also remove the meta dependency on the openstack_openrc role because
the target host does not require openrc/clouds.yaml any more.

We remove the variable 'octavia_ansible_endpoint_type' as it is no longer
used.

We finally remove the python-pip package from the distro packages, as
with these changes, pip is no longer required on the host - everything
installed by pip is isolated into a venv.

Change-Id: If3f65fdb8a59a3c41cb8c2f0dee6b2e5a71f05c7
2018-08-19 18:18:47 +01:00
Jonathan Rosser 83acf10750 Add bionic to galaxy_info metadata
Change-Id: Id6a4813dc3303c31405bde39ee62d8bb1f228a3f
2018-08-08 13:33:36 +00:00
Jean-Philippe Evrard ff953534b6 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: I618fd3e2b9c65d054e8d1febe1fc19e8cb9fbf1c
2017-12-05 11:55:53 +00:00
Jean-Philippe Evrard 7c1b7d616e 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: I890bfe2c7e23570ccd0d44f08e8a5667b46b60af
2017-10-11 09:01:21 +00:00
Jesse Pretorius 9d8059ab4b 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: I9752dffdb7302d2d76f2cf0c7023cc3535f3fc9f
2017-05-16 15:30:15 +00:00
Major Hayden f510d6561c Octavia role hacking
- installs Octavia service in OSA
- adds a test which installs Octavia (but uses noop
  to work around gate limitations)

Co-Authored-By: German Eichberger <German.eichberger@rackspace.com>

Change-Id: Idb419a4ca5daa311d39c90eda5f83412ccf576ad
2017-03-01 12:48:12 -05:00