Skip to content

Commit f5e5cdf

Browse files
committed
Updates to Proxy and Session Daemon
1 parent 8994b99 commit f5e5cdf

File tree

8 files changed

+22
-27
lines changed

8 files changed

+22
-27
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
# TUXLAB INFRASTRUCTURE #
33
##########################################
44

5+
# Setup Development Environment
6+
setup:
7+
"10.100.1.10" >> /etc/resolver/ssh.tuxlab.local;
8+
59
# Up Vagrantfile
610
up: destroy
711
rm ~/.ssh/known_hosts | true;

roles/meteor/tasks/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
- name: install meteor
77
become: yes
88
shell: curl https://install.meteor.com/ | /bin/sh
9+
args:
10+
warn: false
911
when: meteor_status.stdout == "false"
1012

1113
- name: install g++

roles/tuxlab-proxy/templates/settings.json.j2

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
11
{
22
"etcd_conf" : {
3-
"etcd_hosts" : ["https://{{ ansible_host }}:2379"],
3+
"etcd_hosts" : "https://{{ ansible_host }}:2379",
44
"etcd_conn_opts" : {
55
"cert" : "/usr/lib/tuxlab/ssl/cert.pem",
66
"key" : "/usr/lib/tuxlab/ssl/host.pem",
7-
"cacert" : "/usr/lib/tuxlab/ssl/ca.pem"
7+
"ca" : "/usr/lib/tuxlab/ssl/ca.pem"
88
}
99
},
1010
"docker_conf" : {
11-
"docker_url" : "tcp://{{ ansible_host }}:2375",
1211
"docker_args" : {
12+
"protocol" : "https",
13+
"host" : "{{ ansible_host }}",
14+
"port" : "2376",
1315
"cert" : "/usr/lib/tuxlab/ssl/cert.pem",
1416
"key" : "/usr/lib/tuxlab/ssl/host.pem",
15-
"cacert" : "/usr/lib/tuxlab/ssl/ca.pem"
17+
"ca" : "/usr/lib/tuxlab/ssl/ca.pem"
1618
}
1719
},
1820
"xterm_conf" : {

roles/tuxlab-session-daemon/tasks/main.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

roles/tuxlab-session-daemon/templates/settings.json.j2

Whitespace-only changes.

setup.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@
8181
- config.yml
8282
roles:
8383
- tuxlab-proxy
84-
- tuxlab-session-daemon
8584

8685
- name: Configure Meteor Applications
8786
hosts: tuxlab-meteor

test.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
- name: Validate ETCD Cluster
1010
hosts: all
1111
tasks:
12-
1312
- shell: etcdctl cluster-health
1413
register: result
1514

@@ -30,7 +29,16 @@
3029
tasks:
3130

3231
- shell: docker -H {{ ansible_host }}:4000 info
32+
become: yes
3333
register: result
3434

3535
- debug:
3636
var: result.stdout
37+
38+
- name: Validate Proxy
39+
hosts: tuxlab-swarm-host
40+
tasks:
41+
42+
- shell: etcdctl ls
43+
- debug:
44+
var: result.stdout

0 commit comments

Comments
 (0)