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
(cherry picked from commit 0da3db3b94)
This commit is contained in:
rabi 2022-05-06 09:43:03 +05:30 committed by Rabi Mishra
parent 7b9b4efc0f
commit 73c0b05111
2 changed files with 3 additions and 1 deletions

View File

@ -109,6 +109,7 @@ deps =
whitelist_externals =
bash
commands_pre =
ansible-galaxy collection install ansible.posix
pip install -q bindep fixtures
bindep test
commands =

View File

@ -57,7 +57,8 @@ def test_tht_ansible_syntax(pytestconfig):
run = ansible_runner.run(
playbook=play_path,
extravars={'tht_root': tht_root}
extravars={'tht_root': tht_root},
verbosity=3
)
try: