diff options
author | Cedric Ollivier <cedric.ollivier@orange.com> | 2021-04-29 07:33:22 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2021-04-29 07:33:22 +0000 |
commit | ecedaa857ff821cad5dc9fa423d1a596ea255efe (patch) | |
tree | c16f4ffcf19282692b3b27fce4ca5e2d8205eb81 /xtesting/core | |
parent | 05013a4caa67062ddae4b570f67b77365a96e326 (diff) | |
parent | 7d2fb79b5b03abdb7b0717b81c63c4906bb7c169 (diff) |
Merge "Allow printing playbook output to console"
Diffstat (limited to 'xtesting/core')
-rw-r--r-- | xtesting/core/ansible.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xtesting/core/ansible.py b/xtesting/core/ansible.py index 21148a18..7ccace9f 100644 --- a/xtesting/core/ansible.py +++ b/xtesting/core/ansible.py @@ -54,7 +54,8 @@ class Ansible(testcase.TestCase): try: if not os.path.exists(self.res_dir): os.makedirs(self.res_dir) - kwargs["quiet"] = True + if "quiet" not in kwargs: + kwargs["quiet"] = True kwargs["artifact_dir"] = self.res_dir runner = ansible_runner.run(**kwargs) self.details = runner.stats |