Remove deprecated ansible_ssh_host variable

This changes 'ansible_ssh_host' to 'ansible_host'. The 'ansible_ssh_host'
variable has been deprecated as noted here: [0].

[0] - http://docs.ansible.com/ansible/intro_inventory.html#hosts-and-groups

Change-Id: Ib434763dc662279c41d80597f94869a29a4c1265
Related-Bug: #1636606
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
Kevin Carter 2016-10-25 14:36:32 -05:00 committed by Kevin Carter (cloudnull)
parent 8e29ac43f3
commit 3b6acb9257
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@
port: "22"
delay: "{{ ssh_delay }}"
search_regex: "OpenSSH"
host: "{{ ansible_ssh_host }}"
host: "{{ ansible_host }}"
delegate_to: "{{ physical_host }}"
when: >
(container_config is defined and container_config | changed) or