commit 8badcadd334a4744e3e9255d6dcab6e7228e42ab
Author: Mark Goddard <email address hidden>
Date: Wed Jan 11 16:04:55 2023 +0000
Fix prechecks in check mode
When running in check mode, some prechecks previously failed because
they use the command module which is silently not run in check mode.
Other prechecks were not running correctly in check mode due to e.g.
looking for a string in empty command output or not querying which
containers are running.
This change fixes these issues.
Closes-Bug: #2002657
Change-Id: I5219cb42c48d5444943a2d48106dc338aa08fa7c
(cherry picked from commit 46aeb9843f3702f7300dc8627d98a7af8d24cfb1)
Reviewed: https:/ /review. opendev. org/c/openstack /kolla- ansible/ +/870776 /opendev. org/openstack/ kolla-ansible/ commit/ 8badcadd334a474 4e3e9255d6dcab6 e7228e42ab
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/wallaby
commit 8badcadd334a474 4e3e9255d6dcab6 e7228e42ab
Author: Mark Goddard <email address hidden>
Date: Wed Jan 11 16:04:55 2023 +0000
Fix prechecks in check mode
When running in check mode, some prechecks previously failed because
they use the command module which is silently not run in check mode.
Other prechecks were not running correctly in check mode due to e.g.
looking for a string in empty command output or not querying which
containers are running.
This change fixes these issues.
Closes-Bug: #2002657 44943a2d48106dc 338aa08fa7c 7300dc8627d98a7 af8d24cfb1)
Change-Id: I5219cb42c48d54
(cherry picked from commit 46aeb9843f3702f