From cb2c930723d3e5c30cf1fab0eac0e8a403645fd6 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Tue, 27 Mar 2018 19:54:36 +0200 Subject: ansible: hosts: use inventory with ansible_host to have more readable ansible output As long they don't have a dns entry, use the ansible_host variable Change-Id: I0888e9b66cd1077dcdada97fb5ee2d56def516e3 --- ansible/hosts | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/ansible/hosts b/ansible/hosts index 152315d..27480e4 100644 --- a/ansible/hosts +++ b/ansible/hosts @@ -5,11 +5,7 @@ 10.9.25.107 [jenkins-slaves] -# admin2-deb9build -2a01:4f8:13b:828::1:300 -# admin2-deb8build -2a01:4f8:13b:828::1:400 -# build2-deb8build-ansible -2a01:4f8:10b:2ad9::1:7 -# build2-deb9build-ansible -2a01:4f8:10b:2ad9::1:6 +admin2-deb9build ansible_host=2a01:4f8:13b:828::1:300 +admin2-deb8build ansible_host=2a01:4f8:13b:828::1:400 +build2-deb8build-ansible ansible_host=2a01:4f8:10b:2ad9::1:7 +build2-deb9build-ansible ansible_host=2a01:4f8:10b:2ad9::1:6 -- cgit v1.2.3