mirror of
https://github.com/ansible/ansible.git
synced 2026-08-03 08:03:05 +02:00
Docs: Clarify adding newlines in YAML folded block scalar (#75875)
* Removed translatable words from code blocks ##### SUMMARY Removed translatable words from codeblocks as per #59449 ##### ISSUE TYPE - Docs Pull Request +label: docsite_pr * Maintaining intend as well as clearity * Preserving "save_as" as the key * showing equivalence and keeping same context
This commit is contained in:
@@ -107,7 +107,10 @@ While in the above ``>`` example all newlines are folded into spaces, there are
|
||||
d
|
||||
e
|
||||
f
|
||||
same_as: "a b\nc d\n e\nf\n"
|
||||
|
||||
Alternatively, it can be enforced by including newline ``\n`` characters::
|
||||
|
||||
fold_same_newlines: "a b\nc d\n e\nf\n"
|
||||
|
||||
Let's combine what we learned so far in an arbitrary YAML example.
|
||||
This really has nothing to do with Ansible, but will give you a feel for the format::
|
||||
|
||||
Reference in New Issue
Block a user