From 84b9cc1b8e26f2799879f57226c0bcb11bd8b7b6 Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Fri, 9 Jan 2015 16:07:40 +0000 Subject: Allow administrating all baserock.org systems using Ansible --- hosts | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 hosts (limited to 'hosts') diff --git a/hosts b/hosts new file mode 100644 index 00000000..13b8d9f4 --- /dev/null +++ b/hosts @@ -0,0 +1,38 @@ +# Ansible hosts file for Baserock infrastructure. +# See: . + +# We don't have DNS working for instances in the OpenStack cloud we use, which +# makes this file a lot more fiddly than it would be otherwise. Access to these +# machines works because the `ansible.cfg` file in the same directory redirects +# all SSH access through the frontend machine. + +[baserock] +baserock-mason-x86-64 ansible_ssh_host=192.168.222.48 +cache.baserock.org ansible_ssh_host=192.168.222.14 +#devel-system-64b ansible_ssh_host=192.168.222.41 (off) +firehose ansible_ssh_host=192.168.222.45 +git.baserock.org ansible_ssh_host=192.168.222.58 +mason-armv7lhf.baserock.org ansible_ssh_host=192.168.222.15 +mason-x86-64.baserock.org ansible_ssh_host=192.168.222.13 + +[fedora] +frontend-haproxy ansible_ssh_host=185.43.218.170 +database-mariadb ansible_ssh_host=192.168.222.30 +openid.baserock.org ansible_ssh_host=192.168.222.39 +storyboard.baserock.org ansible_ssh_host=192.168.222.40 + +[ubuntu] +paste.baserock.org ansible_ssh_host=192.168.222.6 +testgerrit.baserock.org ansible_ssh_host=192.168.222.46 +testirclogs.baserock.org ansible_ssh_host=192.168.222.11 +#gerrit.baserock.org-test ansible_ssh_host=192.168.222.44 # (off) + + +[baserock:vars] +ansible_ssh_user=root + +[ubuntu:vars] +ansible_ssh_user=ubuntu + +[fedora:vars] +ansible_ssh_user=fedora -- cgit v1.2.1