1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Add more details to the changelog -- may move this to a porting guide

later
This commit is contained in:
Toshio Kuratomi 2015-09-03 15:23:33 -07:00
parent b2cb3153f1
commit 21ee4b02da

View file

@ -42,7 +42,27 @@ Major Changes:
* When a string with a trailing newline was specified in the playbook via yaml
dict format, the trailing newline was stripped. When specified in key=value
format the trailing newlines were kept. In v2, both methods of specifying the
string will keep the trailing newlines.
string will keep the trailing newlines. If you relied on the trailing
newline being stripped you can change your playbook like this::
# Syntax in 1.9.2
vars:
message: >
Testing
some things
tasks:
- debug:
msg: "{{ message }}"
# Syntax in 2.0.x
vars:
old_message: >
Testing
some things
message: "{{ old_messsage[:-1] }}"
- debug:
msg: "{{ message }}"
# Output
"msg": "Testing some things"
Deprecated Modules (new ones in parens):
* ec2_ami_search (ec2_ami_find)