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: I8ff8d0227fccff8c41d762a83802e1e7bab61bfe
Related-Bug: #1636606
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
Kevin Carter 2016-10-25 14:36:54 -05:00 committed by Kevin Carter (cloudnull)
parent 962a49aeaf
commit 9eca6e47a2
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,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
register: ssh_wait_check