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

Document the behavioral change (bugfix) that converted DOS-type text files to Unix-type

This commit is contained in:
Dag Wieers 2016-04-01 15:50:58 +02:00
parent 837f3dd24d
commit 0e182728f2

View file

@ -199,6 +199,10 @@ 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
===============