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: If133068625584b8794615bf212c700b6253dce19
Related-Bug: #1636606
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
Kevin Carter 2016-10-25 14:35:36 -05:00 committed by Kevin Carter (cloudnull)
parent 8b4012bea7
commit 98e3a515b5
1 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@
login_host: "10.100.100.101"
name: "OSA-test"
state: "present"
when: ansible_ssh_host == '10.100.100.101'
when: ansible_host == '10.100.100.101'
- name: Grant access to the DB on 10.100.100.102
mysql_user:
login_user: "{{ galera_root_user }}"
@ -71,6 +71,6 @@
with_items:
- "localhost"
- "%"
when: ansible_ssh_host == '10.100.100.102'
when: ansible_host == '10.100.100.102'
vars_files:
- common/test-vars.yml