Add more details to the changelog -- may move this to a porting guide
later
This commit is contained in:
parent
b2cb3153f1
commit
21ee4b02da
1 changed files with 21 additions and 1 deletions
22
CHANGELOG.md
22
CHANGELOG.md
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue