Skip to content

Commit 7f7929b

Browse files
author
Jonathan Piron
committed
Add a comment on ansible_ssh_host depreciation
1 parent 5af95a0 commit 7f7929b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: chef_inventory.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def list_nodes(self):
142142
if ( "ipaddress" in node["automatic"].keys() ):
143143
if name not in hostvars:
144144
hostvars[name] = {}
145-
hostvars[name]['ansible_ssh_host'] = node["automatic"]["ipaddress"]
145+
hostvars[name]['ansible_ssh_host'] = node["automatic"]["ipaddress"] # DEPRECATED since ansible 2.x
146146
hostvars[name]['ansible_host'] = node["automatic"]["ipaddress"]
147147
else:
148148
continue

0 commit comments

Comments
 (0)