commit e690cb4dc7360cff99f9e8e2a40a8e324566c19b
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/ +/870775 /opendev. org/openstack/ kolla-ansible/ commit/ e690cb4dc7360cf f99f9e8e2a40a8e 324566c19b
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/xena
commit e690cb4dc7360cf f99f9e8e2a40a8e 324566c19b
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