4 Commits

Author SHA1 Message Date
rabi
0da3db3b94 Install ansible.posix.debug stdout callback plugin
ansible.builtin.debug is redirected to ansible.posix.debug.
We need to install the collection explicitly.

This needs to be fixed for stdout callback plugin related changes
in ansible-runner >=2.2.0.

Also, increases ansible verbosity to track these issues better in
the future.

Closes-Bug: #1971703
Change-Id: Ibe883e19c25926ab302db741afae70821209a350
2022-05-06 09:55:52 +05:30
rabi
9f028a9a04 Pin ansible-runner <2.2.0
ansible-runner==2.2.0 has broken openstack-tox-tht
jobs. We can merge this to unblock till we find out
what's causing the regression.

Related-Bug: #1971703
Change-Id: Ic0cc98b2d92801c222ca1280ca5e0485c7d603f1
2022-05-05 20:28:49 +05:30
Sagi Shnaidman
bec1ffeeb8 Change tests to run on ansible-core 2.11
Change-Id: I6403449c458609ca4874e5485d8a3326fcc9d87e
2021-08-08 09:12:53 +00:00
Carlos Camacho
0de387ee3c Ansible lint check in THT
Until now if there is a nit inside any
Ansible task part of tripleo-heat-templates we will
need to wait until the end-to-end test imports
the actual tasks to fail.

This submission adds the hability to run a syntax
check for any Ansible task part of any role
defined by default in the resource registry.

Also it will allow to reduce the CI CO2 footprint
by not executing unneeded jobs meant to fail.
Let's save the planet and some CI cycles.

Change-Id: I6eb7c873cc9a4b7d765e745dc260475bff7b268a
2019-10-30 04:56:05 -04:00