From 20b74b2098e3f0e2d2a0874b1bef2c9b7896331c Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Tue, 16 May 2017 12:10:44 +0100 Subject: [PATCH] Fix role gate tests for Ansible 2.3 Add 'become' and root 'user' options to the playbook instead of using 'ansible_become' through an inventory variable. Change-Id: Id5018a0cf8f0190655cd6a6b0a342e7918c29dd0 --- tests/inventory | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/inventory b/tests/inventory index 78f1a29..a2c80b0 100644 --- a/tests/inventory +++ b/tests/inventory @@ -1,5 +1,5 @@ [all] -localhost ansible_become=True +localhost infra1 ansible_host=10.100.100.2 ansible_become=True ansible_user=root openstack1 ansible_host=10.100.100.3 ansible_become=True ansible_user=root