Browse code

changelog updates: - corrected inventory pattern info to match latest update - arranged new headers for the release - documented them band change - added some missing changes - rearranged and clarified some existing changes

Brian Coca authored on 2015/11/01 06:13:29
Showing 1 changed files
... ...
@@ -3,37 +3,33 @@ Ansible Changes By Release
3 3
 
4 4
 ## 2.0 "Over the Hills and Far Away" - ACTIVE DEVELOPMENT
5 5
 
6
-Major Changes:
6
+###Major Changes:
7 7
 
8
+* Releases are now named after Led Zeppelin songs, 1.9 will be the last Van Halen named release.
8 9
 * The new block/rescue/always directives allow for making task blocks and exception-like semantics
9 10
 * New strategy plugins (e.g. `free`) allow control over the flow of task execution per play. The default (`linear`) will be the same as before.
10 11
 * Improved error handling, with more detailed parser messages. General exception handling and display has been revamped.
11
-* Task includes are now evaluated during execution, allowing more dynamic includes and options.
12
-* "with\_<lookup>" loops can now be used with includes since they are dynamic.
13
-* Callback, connection and lookup plugin APIs have changed. Some projects will require modification to work with the new versions.
12
+* Task includes are now evaluated during execution, allowing more dynamic includes and options. Play includes are unchanged both still use the `include` directive.
13
+* "with\_<lookup>" loops can now be used with task includes since they are dynamic.
14
+* Callback, connection, cache and lookup plugin APIs have changed. Existing plugins might require modification to work with the new versions.
14 15
 * Callbacks are now shipped in the active directory and don't need to be copied, just whitelisted in ansible.cfg.
15 16
 * Many API changes. Those integrating directly with Ansible's API will encounter breaking changes, but the new API is much easier to use and test.
16
-* Settings are now more inheritable; what you set at play, block or role will be automatically inherited by the contained. This allows for new features to automatically be settable at all levels, previously we had to manually code this.
17
+* Settings are now more inheritable; what you set at play, block or role will be automatically inherited by the contained.
18
+  This allows for new features to automatically be settable at all levels, previously we had to manually code this.
17 19
 * Template code now retains types for bools and numbers instead of turning them into strings.
18
- If you need the old behaviour, quote the value and it will get passed around as a string
20
+  If you need the old behaviour, quote the value and it will get passed around as a string
21
+* Empty variables and variables set to null in yaml will no longer be converted to empty strings.  They will retain the value of `None`.
22
+  To go back to the old behaviour, you can override the `null_representation` setting to an empty string in your config file or
23
+  by setting the `ANSIBLE_NULL_REPRESENTATION` environment variable.
19 24
 * Added `meta: refresh_inventory` to force rereading the inventory in a play.
20
-* Vars are now settable at play, block, role and task level.
21
-* Empty variables and variables set to null in yaml will no longer be converted to empty strings.
22
-They will retain the value of `None`. To go back to the old behaviour, you can override
23
-the `null_representation` setting to an empty string in your config file or by setting the
24
-`ANSIBLE_NULL_REPRESENTATION` environment variable.
25
-* The `ansible_ssh_common_args` inventory variable now provides a
26
-  convenient way to configure a per-group or per-host ssh ProxyCommand
27
-  or set any other ssh options. Also, `ansible_ssh_extra_args` can be
28
-  used to set options that are accepted only by ssh (not sftp or scp,
29
-  which have their own analogous settings).
30
-* Use `pattern1,pattern2` to combine host matching patterns. The use of
31
-  ':' as a separator is deprecated (accepted with a warning) because it
32
-  conflicts with IPv6 addresses. The undocumented use of ';' as a
33
-  separator is no longer supported.
34
-* Backslashes used when specifying parameters in jinja2 expressions in YAML
35
-dicts sometimes needed to be escaped twice. This has been fixed so that
36
-escaping once works. Here's an example of how playbooks need to be modified:
25
+* Now when you delegate an action that returns ansible_facts, these facts will be applied to the delegated host, unlike before when they were applied to the current host.
26
+  This re-executes inventory scripts, but does not force them to ignore any cache they might use.
27
+* Vars are now settable at play, block, role and task level with the `vars` directive and scoped to the tasks contained.
28
+* New ssh configuration variables(`ansible_ssh_common_args`, `ansible_ssh_extra_args`) can be used to configure a
29
+  per-group or per-host ssh ProxyCommand or set any other ssh options.
30
+  `ansible_ssh_extra_args` is used to set options that are accepted only by ssh (not sftp or scp, which have their own analogous settings).
31
+* Backslashes used when specifying parameters in jinja2 expressions in YAML dicts sometimes needed to be escaped twice.
32
+  This has been fixed so that escaping once works. Here's an example of how playbooks need to be modified:
37 33
 
38 34
     ```
39 35
     # Syntax in 1.9.x
... ...
@@ -74,9 +70,12 @@ newline being stripped you can change your playbook like this:
74 74
     # Output
75 75
     "msg": "Testing some things"
76 76
     ```
77
+
78
+###Plugins
79
+
77 80
 * Rewritten dnf module that should be faster and less prone to encountering bugs in cornercases
78 81
 
79
-Deprecated Modules (new ones in parens):
82
+####Deprecated Modules (new ones in parens):
80 83
 
81 84
 * ec2_ami_search (ec2_ami_find)
82 85
 * quantum_network (os_network)
... ...
@@ -87,7 +86,7 @@ Deprecated Modules (new ones in parens):
87 87
 * quantum_router_gateway (os_router)
88 88
 * quantum_router_interface (os_router)
89 89
 
90
-New Modules:
90
+####New Modules:
91 91
 
92 92
 * amazon: ec2_ami_copy
93 93
 * amazon: ec2_ami_find
... ...
@@ -260,7 +259,7 @@ New Modules:
260 260
 * zabbix_screen
261 261
 * znode
262 262
 
263
-New Inventory scripts:
263
+####New Inventory scripts:
264 264
 
265 265
 * cloudstack
266 266
 * fleetctl
... ...
@@ -269,44 +268,45 @@ New Inventory scripts:
269 269
 * proxmox
270 270
 * serf
271 271
 
272
-New Lookups:
272
+####New Lookups:
273 273
 
274 274
 * credstash
275 275
 * hashi_vault
276 276
 * ini
277 277
 * shelvefile
278 278
 
279
-New filters:
279
+####New Filters:
280 280
 
281 281
 * combine
282 282
 
283
-New Connection Methods:
283
+####New Connection:
284 284
 
285
-* Added a connection plugin for talking to docker containers on the ansible controller machine without using ssh.
285
+* docker: for talking to docker containers on the ansible controller machine without using ssh.
286 286
 
287
-Minor changes:
287
+###Minor changes:
288 288
 
289 289
 * Many more tests. The new API makes things more testable and we took advantage of it.
290 290
 * big_ip modules now support turning off ssl certificate validation (use only for self-signed certificates).
291
-* Use "pattern1:pattern2" to combine host matching patterns. The undocumented
292
-use of semicolons or commas to combine patterns is no longer supported.
293
-* Use ``hosts: groupname[x:y]`` to select a subset of hosts in a group; the
294
-``[x-y]`` range syntax is no longer supported. Note that ``[0:1]`` matches
295
-two hosts, i.e. the range is inclusive of its endpoints.
296
-* Now when you delegate an action that returns ansible_facts, these facts will be applied to the delegated host, unlike before when they were applied to the current host.
297 291
 * Consolidated code from modules using urllib2 to normalize features, TLS and SNI support.
298 292
 * synchronize module's dest_port parameter now takes precedence over the ansible_ssh_port inventory setting.
299 293
 * Play output is now dynamically sized to terminal with a minimum of 80 coluumns (old default).
300 294
 * vars_prompt and pause are now skipped with a warning if the play is called non interactively (i.e. pull from cron).
301 295
 * Support for OpenBSD's 'doas' privilege escalation method.
302 296
 * Most vault operations can now be done over multilple files.
303
-* ansible-vault encrypt/decrypt read from stdin if no other input file is given,
304
-and can write to a given ``--output file`` (including stdout, '-'). This lets
305
-you avoid ever writing sensitive plaintext to disk.
297
+* ansible-vault encrypt/decrypt read from stdin if no other input file is given, and can write to a given ``--output file`` (including stdout, '-').
298
+  This lets you avoid ever writing sensitive plaintext to disk.
306 299
 * ansible-vault rekey accepts the --new-vault-password-file option.
300
+* ansible-vault now preserves file permissions on edit and rekey and defaults to restrictive permissions for other options.
307 301
 * Configuration items defined as paths (local only) now all support shell style interpolations.
308 302
 * Many fixes and new options added to modules, too many to list here.
309 303
 * Now you can see task file and line number when using verbosity of 3 or above.
304
+* The ``[x-y]`` host range syntax is no longer supported. Note that ``[0:1]`` matches two hosts, i.e. the range is inclusive of its endpoints.
305
+* We now recommend the Use `pattern1,pattern2` to combine host matching patterns.
306
+* The use of ':' as a separator conflicts with IPv6 addresses and host ranges. It will be deprecated in the future.
307
+* The undocumented use of ';' as a separator is now deprecated.
308
+* modules and callbacks have been extended to support no_log to avoid data disclosure.
309
+* new managed_syslog option has been added to control output to syslog on managed machines, no_log supercsedes this settings.
310
+* Lookup, vars and action plugin pathing has been normalized, all now follow the same sequence to find relative files.
310 311
 
311 312
 ## 1.9.4 "Dancing In the Street" - Oct 9, 2015
312 313