Commit Graph

17 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov 0fdd2ad27d Drop Ubuntu 20.04 support
Ubuntu 20.04 is not supported or tested in 2023.2, so we remove
focal-related variables from the role.

Change-Id: I52f772f519db6c4924443498bb3453f69cd997de
2023-08-15 15:51:20 +02:00
Dmitriy Rabotyagov 3cf5320038 Fix linters issue 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: Ide0ca8cf60f3a92c98543465d53bc4720067b153
2023-07-14 05:47:17 +00:00
Jonathan Rosser 2fa0318c73 Prevent ceph packages installing from ubuntu-cloud-archive
This patch adds a new variable `openstack_hosts_apt_pinned_packages`
which defaults to pinning ceph packages from the UCA repository to
a lower priority than the equivalent packages from the main ubuntu
repository.

Without this change, installing lxc-templates will pull packages from
the Quincy release of Ceph via Yoga UCA, and this is ahead of the
Pacific version expected by the ceph_client and ceph-ansible code.

This change improves consistency of the ceph packages installed across
the deployment and does not allow very new packages in UCA to later
cause a package downgrade failure when the ceph_client/ceph-ansible
attempts to install the well-defined version of ceph required by
openstack-ansible.

Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/838762
Change-Id: Ia19ba6bae3e95ceb2e517039fbbfb9346e014961
2022-04-21 12:54:36 +00:00
Jonathan Rosser 9c585b7257 Use ansible_facts[] instead of fact variables
See https://github.com/ansible/ansible/issues/73654

Change-Id: I949a17a8e77e96b6933e625914ea337eb94e53c2
2021-02-25 12:26:09 +00:00
Dmitriy Rabotyagov 5b5159c0b2 Remove unsupported OS
Do some role cleanup to path for not supported OS,
like gentoo or suse.

Change-Id: Icebce8e00485aa892ff3bbcbbf9652abc77a1c99
2020-10-16 16:57:08 +03:00
Jean-Philippe Evrard ea1ddbacc5 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: I7a84474a2c2359c4c6fa9de1118659498e35cc6c
2019-05-14 11:51:56 +02:00
Mohammed Naser 134d60af34 debian: add ci and update meta
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: I135ea73604890eae5e9e2a7cdcab81b2b39ad426
Change-Id: I1c66594e7c56ed9eebc4e31baf084d69e521b145
2019-04-06 18:34:18 -04:00
Matthew Thode df5391a33c
add gentoo support
Adds var files and templates needed to support gentoo

Change-Id: I4d80dd3e9c1ef5ba5dcd8e62381a5e32f513fbb3
2019-02-19 20:32:31 -06:00
Jonathan Rosser ff8690a52f Add bionic to galaxy_info metadata
Change-Id: I8e20586f058f4f9773f5ef3b1ca3159737d81833
2018-08-02 14:19:11 +01:00
Jean-Philippe Evrard f408c0ba4d Add Bionic testing
Now that bionic testing is added into the tests repos, we can
start testing it in the repo.

This removes UCA from the list of sources for Bionic, as
Rocky 16.04 will be with Queens UCA, and Rocky 18.04 will
have no UCA, only base packages.

Depends-On: https://review.openstack.org/#/c/566959/
Change-Id: I7e6abf3c2f7a16ce79e934f9b9ff66bea89e6d67
2018-05-14 20:56:34 +02:00
Major Hayden b8885a005a
Change include: to include_tasks:
This removes the warnings in Ansible 2.4+.

Change-Id: I0b70d4b506cc6688df6b706cde67b2d8f8c637dd
2018-02-15 10:24:11 -06:00
Jean-Philippe Evrard 66fd1eca5c 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: I1ebacd918d992af03c46aa1bd868d8266b94f8f3
2017-10-11 08:44:57 +00:00
Markos Chandras e55e9e82e3 Add SUSE support
Add support for SUSE based distributions. We also mark CentOS7 as
supported distribution. Finally, we update the bindep.txt, run_tests.sh
and Vagrantfile files from the openstack-ansible-tests repository.

Change-Id: I9986dadbc690344bad68ca23a1cb30aec92cb7ef
2017-04-05 12:08:29 +01:00
Andy McCrae f031eec9d9 Remove Trusty support from openstack_hosts role
Change-Id: Ie5acd2c91fbac188dd942da7ac71321be63013a0
Implements: blueprint trusty-removal
2016-12-15 13:14:48 +00:00
Michael Gugino 1b19d9ee1d Add missing xenial to meta.yml
openstack_hosts now supports Ubuntu 16.04, aka xenial.
This commit adds the missing platform version xenial to
the role meta data.

Change-Id: I939aade009c779b6b49a98c774bb831810d68327
2016-06-27 15:38:14 -04:00
Kevin Carter 79acae2254 Updated role using the Multi-Distro framework
* 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.
* Ubuntu 16.04 and CentOS 7 support have been added

Implements: blueprint multi-platform-host
Change-Id: I469081671415df23a35108abf4452722ba011f9b
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2016-05-19 22:08:15 +00:00
Kevin Carter 335b5be62c
IRR for openstack_hosts
The change moves the role out from the main repo openstack-ansible
repository and into its own standalone repository.

Items within this change:
  * The role has been updated to ensure it runs standalone.
  * Tests added to the role within tox.
  * Functional tests added to the role that can either be run
    via the run_tests.sh script or using tox.
  * dev requirements have been updated for testing usecases.
  * Docs added to both the README.rst file as well as the docs
    folder.

Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2015-11-03 02:57:54 -06:00