Skip to content

Commit 9cf9849

Browse files
author
Ryan Sandor Richards
committed
Added alpha-stage-data, runs redis and rabbit for staging.
1 parent f8a05ad commit 9cf9849

4 files changed

Lines changed: 30 additions & 16 deletions

File tree

ansible/roles/docker/tasks/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
state=present
99
value="/var/log/core.%h.%e.%t"
1010

11+
# - debug: msg="ansible_kernel = {{ ansible_kernel }}"
12+
1113
- name: install aufs with linux-image-extra-{{ ansible_kernel }}
1214
sudo: yes
1315
tags: aufs
Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,19 @@
11
[hipache]
22
alpha-stage-userland-hipache domain=runnable2.net httpsCheckForBackend80=true prependIncomingPort=true subDomainDepth=3
33

4-
[docks]
5-
10.0.1.120
6-
10.0.1.109
4+
[targets]
5+
localhost ansible_connection=local bastion_name=alpha-bastion
6+
7+
[redis]
8+
alpha-stage-data
79

8-
[charon]
9-
alpha-stage-hipache
10+
[rabbitmq]
11+
alpha-stage-data
1012

1113
[alpha:children]
1214
hipache
1315
docks
14-
charon
1516

16-
[alpha:vars]
17-
ansible_ssh_private_key_file=~/.ssh/Test-runnable.pem
18-
domain=runnable3.net
19-
node_env=stage
20-
rabbit_password=3ad4d0546425efe40c6c1592d2d266cc
21-
rabbit_username=e07e0f51a2afa8c94a34bc252c8eeea7
22-
registry_host=10.0.1.254
23-
24-
[targets]
25-
localhost ansible_connection=local bastion_name=alpha-bastion
17+
[docks]
18+
10.0.1.120
19+
10.0.1.109

ansible/stage-hosts/variables

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[redis:vars]
2+
registry_host=10.0.1.254
3+
4+
[rabbitmq:vars]
5+
rabbit_username=5WE5wsEQmfw9sLsppJ4CEq9Auea8mPC4kgVt3xYqKxbYHPfP
6+
rabbit_password=h7n972sPLs5tWGCWe6QPSCnaxDWjvnpEFEA9c9mBqauH3f22
7+
8+
[alpha:vars]
9+
ansible_ssh_private_key_file=~/.ssh/Test-runnable.pem
10+
domain=runnable3.net
11+
node_env=stage
12+
rabbit_password=3ad4d0546425efe40c6c1592d2d266cc
13+
rabbit_username=e07e0f51a2afa8c94a34bc252c8eeea7
14+
registry_host=10.0.1.254

ssh/config

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,10 @@ Host alpha-stage-runnable
105105
Host alpha-stage-dock-test
106106
ProxyCommand ssh -q ubuntu@alpha-bastion nc 10.0.1.213 22
107107

108+
Host alpha-stage-data
109+
ProxyCommand ssh -q ubuntu@alpha-bastion nc 10.0.1.134 22
110+
111+
108112
################################################################################
109113
# oregon
110114
################################################################################

0 commit comments

Comments
 (0)