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: I68c3d98de3a0a4444c0c1ea0cc528901613a63bd
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
Depends-On: Ic31fd78bb5ad9cd484f44e63ba02db7424a500d5
Change-Id: I7c6258673b7b13c15177873fb42080e452eba2d4
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: I311d5fb44f7e2edab55ec0b64e661924d8d7efe3
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: I614188359bf22bfc0df767e4e1b36f509db02819
Given that pymysql is pure python and has no C binding
dependencies, we no longer need the role to install the
MariaDB client libraries.
Depends-On: https://review.openstack.org/602907
Change-Id: I9a37bd999a02e97205409d956a838f7ee62ed45f
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: I4ff1d51d78f5414d1029ac9ba773d98bd1dcbcda
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: I06ab00eac77d6590a25a9d4e674743d5d0797125
Add support for the openSUSE Leap distributions. Nothing special is
required for this except adding the appropriate distro variables
file and also update the zypper cache before package installation. We
also had to apply the same virtualenv-tools fix similar to CentOS.
Change-Id: I265f57141a1aa0c26857c05e38206b68fd2de1b0
I got a failure when running OSA on Centos with Magnum,
this file adds the package names for RedHat derivatives.
Change-Id: Ia355f15b6c2c9d80447e227660f7037b3dfdc58e
Consolidate distro package install tasks into a
single task using the package module and pass
the package list into the name instead of using
a with_items loop.
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
Also:
- add license boilerplate to meta file
Change-Id: I8ce52d62acc900d1c45e57ef42e5a2e11fd1db9b
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: I00b107b651776c6dffbffb81afcf9b8dfe028b46
This change updates the magnum role to support Ubuntu 14.04 with
upstart init and 16.04 with systemd init.
Change-Id: Id3b3b9a5419c3602821e8f7b062a5958efcccb0c
Implements: blueprint support-ubuntu-1604
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: I1a62d627ee0f8c636065734e8d69fcfd009542a2
This commit adds the ability to install magnum without a repo server.
This pattern is lifted from the os_cinder role and allows us to
further develop functional testing for this role.
Change-Id: Idcaad65b45c932613c739b2f498f8f92acbbf53b
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
* The default apt packages have been moved into a var file
that is only loaded when the detected OS is matched.
* The Install task file has had the apt specific tasks moved
into a named install task file.
Change-Id: Idbf1b737a11b0bb2460989b2881395ee87a90429
Implements: blueprint multi-platform-host
This patch includes the following:
- Base configuration for OpenStack's CI Infrastructure.
- Base documentation build configuration.
- A Vagrantfile for local testing.
- A base test configuration in order to execute the standard tests.
- An updated README, and added a CONTRIBUTING file.
- The extras folder and files have been updated to match current
conventions.
Change-Id: Ic85e398509b5069633f9b5865aff941d69ef7fbf