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: I06c26bc22ecbbbd7e858027a6b7fef22316efa22
Related-Bug: #1636606
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
Kevin Carter 2016-10-25 14:37:29 -05:00 committed by Jesse Pretorius (odyssey4me)
parent 4b3eacae45
commit 64825eb4a1
5 changed files with 6 additions and 6 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

View File

@ -1,11 +1,11 @@
[DEFAULT]
# Disable stderr logging
use_stderr = False
host = {{ ansible_ssh_host | default(ansible_host) }}
host = {{ ansible_host }}
rpc_backend = {{ magnum_rpc_backend }}
[api]
host = {{ ansible_ssh_host | default(ansible_host) }}
host = {{ ansible_host }}
[barbican_client]
endpoint_type = internalURL

View File

@ -14,7 +14,7 @@
# limitations under the License.
ansible_host: 10.1.1.101
ansible_ssh_host: 10.1.1.101
ansible_host: 10.1.1.101
ansible_become: True
ansible_user: root
tunnel_address: 10.1.2.101

View File

@ -16,7 +16,7 @@
ansible_become: True
ansible_connection: local
ansible_host: 10.1.1.1
ansible_ssh_host: 10.1.1.1
ansible_host: 10.1.1.1
neutron_local_ip: 10.1.2.1
ansible_python_interpreter: "/usr/bin/python2"
bridges:

View File

@ -14,7 +14,7 @@
# limitations under the License.
ansible_host: 10.1.1.102
ansible_ssh_host: 10.1.1.102
ansible_host: 10.1.1.102
ansible_become: True
ansible_user: root
tunnel_address: 10.1.2.102