From 575c8b6682435feeebcdf029e654f601063ba7c1 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Wed, 2 Mar 2016 15:52:18 -0500 Subject: [PATCH] Specific hostname for testing Current tests are using localhost, which is fine but may not be real world. Change-Id: I356dd7d8b67a14bd6e87ff973fec836e52b3719b Signed-off-by: Paul Belanger --- tests/inventory | 4 ++-- tests/test.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/inventory b/tests/inventory index 68b2dac..65db56b 100644 --- a/tests/inventory +++ b/tests/inventory @@ -1,2 +1,2 @@ -[all] -localhost +[test] +test01 ansible_host=localhost diff --git a/tests/test.yaml b/tests/test.yaml index 507f903..e9e32cd 100644 --- a/tests/test.yaml +++ b/tests/test.yaml @@ -12,7 +12,7 @@ # License for the specific language governing permissions and limitations # under the License. --- -- hosts: localhost +- hosts: test become: yes vars: rolename: "{{ lookup('pipe', 'pwd') | dirname | basename }}"