Add tripleo_states to default callback whitelist

tripleo_states will be a useful callback to print out informations about
a deployment state (e.g. if a node failed but was ignored because of
max_failed_percentage).

Change-Id: Ia53a5fb554e231d8ea16639efe3c394d0811556c
(cherry picked from commit 7e7c3c23dd)
This commit is contained in:
Emilien Macchi 2020-06-16 13:43:37 -04:00
parent 92654c55ff
commit 571e48caea
2 changed files with 3 additions and 2 deletions

View File

@ -43,7 +43,7 @@ OVERCLOUD_NETWORKS_FILE = "network_data.yaml"
STANDALONE_NETWORKS_FILE = "/dev/null"
UNDERCLOUD_NETWORKS_FILE = "network_data_undercloud.yaml"
ANSIBLE_HOSTS_FILENAME = "hosts.yaml"
ANSIBLE_CWL = "tripleo_dense,tripleo_profile_tasks"
ANSIBLE_CWL = "tripleo_dense,tripleo_profile_tasks,tripleo_states"
# The name of the file which holds the plan environment contents
PLAN_ENVIRONMENT = 'plan-environment.yaml'

View File

@ -276,7 +276,8 @@ def run_ansible_playbook(playbook, inventory, workdir, playbook_dir=None,
:param callback_whitelist: Comma separated list of callback plugins.
Defaults to
"tripleo_dense,tripleo_profile_tasks".
"tripleo_dense,tripleo_profile_tasks,
tripleo_states".
Custom output_callback is also whitelisted.
:type callback_whitelist: String