mirror of https://github.com/ansible/ansible.git
Merge 0d5309f722 into 7b4d4ed672
commit
bf7d631362
@ -0,0 +1,3 @@
|
|||||||
|
minor_changes:
|
||||||
|
- "default callback plugin - add option to configure line width for YAML output. This allows to disable line wrapping
|
||||||
|
(https://github.com/ansible/ansible/issues/84657, https://github.com/ansible/ansible/pull/85498)."
|
||||||
@ -0,0 +1,2 @@
|
|||||||
|
+ ansible-playbook -i inventory test_long_line.yml
|
||||||
|
++ set +x
|
||||||
@ -0,0 +1,25 @@
|
|||||||
|
|
||||||
|
PLAY [localhost] ***************************************************************
|
||||||
|
|
||||||
|
TASK [Output with long line] ***************************************************
|
||||||
|
ok: [localhost] =>
|
||||||
|
msg:
|
||||||
|
- This is a normal line.
|
||||||
|
- This is a very, very, verrrrrrrrrrrrrrry, veryyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy,
|
||||||
|
veeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeerrrrrrrrrrrrrrrrrrrrrryyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
|
||||||
|
looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong
|
||||||
|
line.
|
||||||
|
- a b c d e f g h i j k l m n o p q r s t u v w x y z a b c d e f g h i j k l m n
|
||||||
|
o p q r s t u v w x y z a b c d e f g h i j k l m n o p q r s t u v w x y z a
|
||||||
|
b c d e f g h i j k l m n o p q r s t u v w x y z a b c d e f g h i j k l m n
|
||||||
|
o p q r s t u v w x y z a b c d e f g h i j k l m n o p q r s t u v w x y z
|
||||||
|
- Another normal line:
|
||||||
|
- Some nested line.
|
||||||
|
- A nested very, very, verrrrrrrrrrrrrrry, veryyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy,
|
||||||
|
veeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeerrrrrrrrrrrrrrrrrrrrrryyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
|
||||||
|
looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong
|
||||||
|
line.
|
||||||
|
|
||||||
|
PLAY RECAP *********************************************************************
|
||||||
|
localhost : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
|
||||||
|
|
||||||
@ -0,0 +1,2 @@
|
|||||||
|
+ ansible-playbook -i inventory test_long_line.yml
|
||||||
|
++ set +x
|
||||||
@ -0,0 +1,16 @@
|
|||||||
|
|
||||||
|
PLAY [localhost] ***************************************************************
|
||||||
|
|
||||||
|
TASK [Output with long line] ***************************************************
|
||||||
|
ok: [localhost] =>
|
||||||
|
msg:
|
||||||
|
- This is a normal line.
|
||||||
|
- This is a very, very, verrrrrrrrrrrrrrry, veryyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy, veeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeerrrrrrrrrrrrrrrrrrrrrryyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong line.
|
||||||
|
- a b c d e f g h i j k l m n o p q r s t u v w x y z a b c d e f g h i j k l m n o p q r s t u v w x y z a b c d e f g h i j k l m n o p q r s t u v w x y z a b c d e f g h i j k l m n o p q r s t u v w x y z a b c d e f g h i j k l m n o p q r s t u v w x y z a b c d e f g h i j k l m n o p q r s t u v w x y z
|
||||||
|
- Another normal line:
|
||||||
|
- Some nested line.
|
||||||
|
- A nested very, very, verrrrrrrrrrrrrrry, veryyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy, veeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeerrrrrrrrrrrrrrrrrrrrrryyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong line.
|
||||||
|
|
||||||
|
PLAY RECAP *********************************************************************
|
||||||
|
localhost : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
|
||||||
|
|
||||||
@ -0,0 +1,13 @@
|
|||||||
|
---
|
||||||
|
- hosts: localhost
|
||||||
|
gather_facts: false
|
||||||
|
tasks:
|
||||||
|
- name: Output with long line
|
||||||
|
debug:
|
||||||
|
msg:
|
||||||
|
- This is a normal line.
|
||||||
|
- This is a very, very, verrrrrrrrrrrrrrry, veryyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy, veeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeerrrrrrrrrrrrrrrrrrrrrryyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong line.
|
||||||
|
- a b c d e f g h i j k l m n o p q r s t u v w x y z a b c d e f g h i j k l m n o p q r s t u v w x y z a b c d e f g h i j k l m n o p q r s t u v w x y z a b c d e f g h i j k l m n o p q r s t u v w x y z a b c d e f g h i j k l m n o p q r s t u v w x y z a b c d e f g h i j k l m n o p q r s t u v w x y z
|
||||||
|
- Another normal line:
|
||||||
|
- Some nested line.
|
||||||
|
- A nested very, very, verrrrrrrrrrrrrrry, veryyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy, veeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeerrrrrrrrrrrrrrrrrrrrrryyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong line.
|
||||||
Loading…
Reference in New Issue