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
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
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
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
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
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
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
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
- 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