Browse code

added note about inventory_dir new behaviour (#30865)

* added note about inventory_dir new behaviour

(cherry picked from commit cd5cadfe69982b7668c15f25547c37ae5981db28)

Brian Coca authored on 2017/09/28 01:00:06
Showing 2 changed files
... ...
@@ -50,6 +50,7 @@ Ansible Changes By Release
50 50
 * corrected issues with slack callback plugin
51 51
 * it is import_playbook .. not import_plays .. docs now reflect this
52 52
 * fixed typo and missed include/import conversion in import_tasks docs
53
+* updated porting docs with note about inventory_dir
53 54
 
54 55
 <sdfasdfsadfsdflkjsdfklj3oiqrua id="2.4"></a>
55 56
 
... ...
@@ -20,6 +20,17 @@ Python version
20 20
 
21 21
 Ansible will not support Python 2.4 nor 2.5 on the target hosts anymore. Going forward, Python 2.6+ will be required on targets, as already is the case on the controller.
22 22
 
23
+
24
+Inventory
25
+=========
26
+
27
+Inventory has been refactored to be implemented via plugins and now allows for multiple sources. This change is mostly transparent to users. 
28
+
29
+One exception is the ``inventory_dir``, which is now a host variable; previously it could only have one value so it was set globally. This means you cannot use it early in plays anymore to determine ``hosts:`` or similar keywords.
30
+
31
+The ``inventory_file`` remains unchaged, as it was always host specific.
32
+
33
+
23 34
 Deprecated
24 35
 ==========
25 36