Skip to content

Commit

Permalink
Move the section up, near another newline-related section
Browse files Browse the repository at this point in the history
Also specificaly state that this happens when templating (only), not just every time.
  • Loading branch information
dagwieers committed Apr 1, 2016
1 parent 0e18272 commit 1f680f3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docsite/rst/porting_guide_2.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ uses key=value escaping which has not changed. The other option is to check for
# Output
"msg": "Testing some things"

* Behavior of templating DOS-type text files changes with Ansible v2.

A bug in Ansible v1 causes DOS-type text files (using a carriage return and newline) to be templated to Unix-type text files (using only a newline). In Ansible v2 this long-standing bug was finally fixed and DOS-type text files are preserved correctly. This may be confusing when you expect your playbook to not show any differences when migrating to Ansible v2, while in fact you will see every DOS-type file being completely replaced (with what appears to be the exact same content).

* When specifying complex args as a variable, the variable must use the full jinja2
variable syntax (```{{var_name}}```) - bare variable names there are no longer accepted.
In fact, even specifying args with variables has been deprecated, and will not be
Expand Down Expand Up @@ -199,10 +203,6 @@ Here are some corner cases encountered when updating, these are mostly caused by

The bare feature itself is deprecated as an undefined variable is indistiguishable from a string which makes it difficult to display a proper error.

* Behavior of templating DOS-type text files changes with Ansible v2.

A bug in Ansible v1 causes DOS-type text files (using a carriage return and newline) to be converted to Unix-type text files (using only a newline). In Ansible v2 this long-standing bug was finally fixed and DOS-type text files are preserved correctly. This may be confusing when you expect your playbook to not show any differences when migrating to Ansible v2, while in fact you will see every DOS-type file being completely replaced (with what appears to be the exact same content).

Porting plugins
===============

Expand Down

0 comments on commit 1f680f3

Please sign in to comment.