aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2018-03-27 19:54:36 +0200
committerHarald Welte <laforge@gnumonks.org>2018-04-05 19:58:51 +0000
commitcb2c930723d3e5c30cf1fab0eac0e8a403645fd6 (patch)
tree6212ebad954452a575ce8286cc3aa2062f60b1a1
parent6288079faf0223a9626927aca9a2b653ad6dba6a (diff)
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
-rw-r--r--ansible/hosts12
1 files 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