RETIRED, python utility to manage a tripleo based cloud
Go to file
Miguel Garcia 4d8fe985e0 parse_ansible_inventory: use ansible_runner instead of importing Ansible
All our interactions with Ansible are brokered by the ansible_runner
module, except for this one function which imports the Ansible module
proper. This leads for breakage when using the latest Ansible builds
from EL9, which are on python3.11 instead of 3.9.

By refactoring parse_ansible_inventory to use ansible_runner's
get_inventory we avoid that breakage, but we also lose out on the
pattern matching as that isn't supported. This function is called in two
places:

ceph_hosts_in_inventory: it didn't do any pattern matching at all, so it
isn't impacted by the change.

overcloud admin authorize: we can now offload the pattern matching to
Ansible itself via the limit_hosts parameter we pass to the playbook run
command, preserving the original functionality.

Closes-Bug: #2007659
Change-Id: I08330ced3b31d0ff48a881501cae8bd726e36432
2023-02-27 09:52:19 +01:00
config-generator Remove leftover of minion 2022-05-26 23:44:36 +09:00
doc remove unicode prefix from code 2022-08-29 19:25:02 +08:00
releasenotes Merge "overcloud image build: Use CentOS Stream 9 by default" 2022-11-21 07:06:15 +00:00
templates/ephemeral-heat Merge "Use custom seccomp profile for ephemeral heat pod" 2022-09-20 06:13:26 +00:00
tripleoclient parse_ansible_inventory: use ansible_runner instead of importing Ansible 2023-02-27 09:52:19 +01:00
zuul.d Use python job template for Zed 2022-05-20 08:10:46 +00:00
.coveragerc Coverage report now lists lines without coverage 2021-05-21 08:59:16 +02:00
.gitignore Remove leftover of minion 2022-05-26 23:44:36 +09:00
.gitreview OpenDev Migration Patch 2019-04-19 19:42:47 +00:00
.mailmap Initial commit 2015-03-17 09:33:52 -04:00
.pre-commit-config.yaml Pull flake8 from Github 2022-11-16 01:55:38 +00:00
.pylintrc Enabling pylint no-else-return 2021-07-23 16:57:18 +02:00
.stestr.conf Switch to stestr 2019-01-04 17:31:21 +00:00
bindep.txt Add missing hostname package to bindep 2022-03-08 13:54:02 +01:00
CONTRIBUTING.rst PDF documentation build 2019-09-11 16:33:21 +02:00
LICENSE Initial commit 2015-03-17 09:33:52 -04:00
README.rst PDF documentation build 2019-09-11 16:33:21 +02:00
requirements.txt parse_ansible_inventory: use ansible_runner instead of importing Ansible 2023-02-27 09:52:19 +01:00
setup.cfg Remove overcloud config download command 2022-06-17 12:57:08 +10:00
setup.py Cleanup py27 support 2020-04-04 17:19:56 +02:00
test-requirements.txt Exposes the community validation init command 2022-01-14 08:11:30 +00:00
tox.ini Remove tox skipdist=True 2022-12-23 16:18:18 +09:00

About tripleoclient

General information

tripleoclient is an OpenStackClient (OSC) plugin implementation that implements commands useful for TripleO and the install and management of both an undercloud and an overcloud.

See the TripleO Documentation for details on using tripleoclient.

See the Release Notes

Team and repository tags

image