Skip to content

Commit 3efadf3

Browse files
committed
CI: Improve readabiity of ansible output
Switching to the yaml callback plugin so that multiline strings are more readable. Change-Id: I92f60738813978e80f6dcf7fbd0a88bd3746f32f
1 parent 7fd3f6b commit 3efadf3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

playbooks/kayobe-base/pre.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
# Add timing information to output
1515
callbacks_enabled = ansible.posix.profile_tasks
1616
17+
# Improve readability of ansible output.
18+
stdout_callback = yaml
19+
1720
[ssh_connection]
1821
# NOTE(wszusmki): Disable pipelining due to:
1922
# https://github.com/ansible/ansible/issues/81777
@@ -32,6 +35,9 @@
3235
# Add timing information to output
3336
callbacks_enabled = ansible.posix.profile_tasks
3437
38+
# Improve readability of ansible output.
39+
stdout_callback = yaml
40+
3541
[ssh_connection]
3642
# NOTE(wszusmki): Disable pipelining due to:
3743
# https://github.com/ansible/ansible/issues/81777

0 commit comments

Comments
 (0)