mirror of https://github.com/ceph/ceph-ansible.git
test: use yaml stdout callback
This provides a much more readable output for tasks. It'll be easier to debug traces. Signed-off-by: Sébastien Han <seb@redhat.com>pull/3424/head
parent
d9e7835086
commit
5419497726
|
@ -17,6 +17,7 @@ fact_caching_connection = $HOME/ansible/facts
|
|||
fact_caching_timeout = 600
|
||||
nocows = 1
|
||||
callback_whitelist = profile_tasks
|
||||
stdout_callback = yaml
|
||||
|
||||
# Disable them in the context of https://review.openstack.org/#/c/469644
|
||||
retry_files_enabled = False
|
||||
|
|
8
tox.ini
8
tox.ini
|
@ -19,8 +19,8 @@ setenv=
|
|||
ANSIBLE_ACTION_PLUGINS = {toxinidir}/plugins/actions
|
||||
ANSIBLE_CALLBACK_PLUGINS = {toxinidir}/plugins/callback
|
||||
ANSIBLE_CALLBACK_WHITELIST = profile_tasks
|
||||
# only available for ansible >= 2.2
|
||||
ANSIBLE_STDOUT_CALLBACK = debug
|
||||
# only available for ansible >= 2.5
|
||||
ANSIBLE_STDOUT_CALLBACK = yaml
|
||||
deps= -r{toxinidir}/tests/requirements.txt
|
||||
changedir={toxinidir}/tests/functional/centos/7/infra_lv_create
|
||||
commands=
|
||||
|
@ -203,8 +203,8 @@ setenv=
|
|||
ANSIBLE_ACTION_PLUGINS = {toxinidir}/plugins/actions
|
||||
ANSIBLE_CALLBACK_PLUGINS = {toxinidir}/plugins/callback
|
||||
ANSIBLE_CALLBACK_WHITELIST = profile_tasks
|
||||
# only available for ansible >= 2.2
|
||||
ANSIBLE_STDOUT_CALLBACK = debug
|
||||
# only available for ansible >= 2.5
|
||||
ANSIBLE_STDOUT_CALLBACK = yaml
|
||||
ansible2.2: DELEGATE_FACTS_HOST = False
|
||||
docker_cluster: PLAYBOOK = site-docker.yml.sample
|
||||
docker_cluster_collocation: PLAYBOOK = site-docker.yml.sample
|
||||
|
|
Loading…
Reference in New Issue