kolla-ansible/ansible/roles/grafana/tasks
Mark Goddard 46aeb9843f 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
2023-01-12 14:27:36 +00:00
..
bootstrap.yml Adding container_engine to kolla_toolbox module 2022-11-04 15:32:30 +01:00
check-containers.yml Add a job that *only* deploys updated containers 2019-09-26 17:51:14 +01:00
check.yml Enable sanity checks from kolla-ansible 2017-03-09 10:37:06 +00:00
config_validate.yml Integrate oslo-config-validator 2022-12-21 17:19:09 +00:00
config.yml Grafana: Run priviliged when copying home dashboard file 2021-10-20 11:26:09 +02:00
copy-certs.yml Refactor copy certificates task 2020-04-14 17:26:19 +00:00
deploy-containers.yml Add a job that *only* deploys updated containers 2019-09-26 17:51:14 +01:00
deploy.yml Performance: optimize genconfig 2020-10-12 19:30:06 +02:00
loadbalancer.yml Add loadbalancer-config role and wrap haproxy-config role inside 2022-08-09 12:15:49 +02:00
main.yml Revert "Performance: Use import_tasks in the main plays" 2020-12-14 10:36:55 +00:00
post_config.yml Adding container_engine to kolla_toolbox module 2022-11-04 15:32:30 +01:00
precheck.yml Fix prechecks in check mode 2023-01-12 14:27:36 +00:00
pull.yml Refactor and optimise image pulling 2021-08-10 11:57:54 +00:00
reconfigure.yml Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
stop.yml Use "name:" instead of "role:" for *_role modules 2020-03-02 10:01:17 +01:00
upgrade.yml Fix var-spacing 2022-07-25 22:15:15 +02:00