From 98e3a515b53d62330a1ca30d3e340b420344842c Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: Tue, 25 Oct 2016 14:35:36 -0500 Subject: [PATCH] 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 --- tests/test-galera-server-functional.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test-galera-server-functional.yml b/tests/test-galera-server-functional.yml index fde5f8d0..4b078ec6 100644 --- a/tests/test-galera-server-functional.yml +++ b/tests/test-galera-server-functional.yml @@ -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