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:
committed by
Kevin Carter (cloudnull)
parent
8b4012bea7
commit
98e3a515b5
@@ -57,7 +57,7 @@
|
|||||||
login_host: "10.100.100.101"
|
login_host: "10.100.100.101"
|
||||||
name: "OSA-test"
|
name: "OSA-test"
|
||||||
state: "present"
|
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
|
- name: Grant access to the DB on 10.100.100.102
|
||||||
mysql_user:
|
mysql_user:
|
||||||
login_user: "{{ galera_root_user }}"
|
login_user: "{{ galera_root_user }}"
|
||||||
@@ -71,6 +71,6 @@
|
|||||||
with_items:
|
with_items:
|
||||||
- "localhost"
|
- "localhost"
|
||||||
- "%"
|
- "%"
|
||||||
when: ansible_ssh_host == '10.100.100.102'
|
when: ansible_host == '10.100.100.102'
|
||||||
vars_files:
|
vars_files:
|
||||||
- common/test-vars.yml
|
- common/test-vars.yml
|
||||||
|
|||||||
Reference in New Issue
Block a user