Skip to content

Commit e9488f0

Browse files
committed
added package, cert for dock ami
1 parent d0377bc commit e9488f0

6 files changed

Lines changed: 73 additions & 30 deletions

File tree

ansible/dock-init.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@
66
- group_vars/alpha-dock-init.yml
77
roles:
88
- { role: notify, tags: [notify] }
9+
- { role: package-dock, tags: [dock, pakage] }
10+
- { role: package-aws, tags: [dock, pakage] }
911
- { role: docker, tags: [docker] }
1012
- { role: git_repo, tags: [deploy] }
1113
- { role: dock-init, tags: [deploy] }
1214
- { role: consul_value, tags: [deploy, consul_value] }
13-
- { role: datadog, tags [deploy, datadog] }
15+
- { role: datadog, tags: [deploy, datadog] }

ansible/dock.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@
1313
- include: filibuster.yml git_branch=v0.1.7
1414
- include: charon.yml git_branch=v3.0.0
1515
- include: image-builder.yml git_branch=d1.6.2-v4.0.0
16+
- include: docker-listener.yml git_branch=v4.3.0
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
d1af6567ed0f464fb1d676f38fd31751

ansible/roles/dock-init/tasks/main.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@
1414
- { file_name: 'token-02', value: "{{ vault_token_02 }}" }
1515
- { file_name: 'token-03', value: "{{ vault_token_03 }}" }
1616

17-
- name: Install jq
17+
- name: copy rollbar token
18+
tags: rollbar
1819
become: true
19-
tags: "Install jq"
20-
apt:
21-
pkg=jq
22-
state=latest
23-
update_cache=yes
24-
cache_valid_time=604800
20+
copy:
21+
src=rollbar.token
22+
dest=/opt/runnable/dock-init/key
23+
mode=0444
24+
owner=root
25+
group=root
Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@
66
# dest=/usr/local/bin
77
# mode=0755
88

9-
# - name: Check of /usr/local/ec2
10-
# become: true
11-
# file:
12-
# path=/usr/local/ec2
13-
# state=directory
14-
159
# - name: Download the zip file for ec2-api-tools
1610
# become: true
1711
# get_url:
@@ -25,19 +19,3 @@
2519
# src=/tmp/ec2/ec2-api-tools.zip
2620
# dest=/usr/local/ec2
2721
# copy=no
28-
29-
# - name: Download jq into /usr/local/bin
30-
# become: true
31-
# get_url:
32-
# url=
33-
# dest=/usr/local/bin
34-
# mode0755
35-
36-
# - name: Download vault software to /usr/local/bin
37-
# become: true
38-
# get_url:
39-
# url=https://vaultproject.io/downloads.html
40-
# dest=/usr/local/bin
41-
# mode=0755
42-
43-
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
---
2+
- name: Install unzip
3+
become: yes
4+
apt:
5+
pkg=unzip
6+
state=latest
7+
update_cache=yes
8+
cache_valid_time=604800
9+
10+
- name: Install openjdk-7-jdk
11+
become: yes
12+
apt:
13+
pkg=openjdk-7-jdk
14+
state=latest
15+
update_cache=yes
16+
cache_valid_time=604800
17+
18+
- name: Install jq
19+
become: true
20+
tags: "Install jq"
21+
apt:
22+
pkg=jq
23+
state=latest
24+
update_cache=yes
25+
cache_valid_time=604800
26+
27+
28+
#- name: Download Vault 041
29+
# become: yes
30+
# get-url:
31+
# url=https://releases.hashicorp.com/vault/0.4.1/vault_0.4.1_linux_amd64.zip
32+
# dest=/usr/local/bin
33+
#
34+
#- name: unzip vault_0.4.1_linux_amd64.zip
35+
# become: yes
36+
# unarchive:
37+
# src=/usr/local/bin/vault_0.4.1_linux_amd64.zip
38+
# dest=/usr/local/bin
39+
# mode=0755
40+
#
41+
#- name: Download Consul-Template
42+
# become: yes
43+
# get_url:
44+
# url=https://releases.hashicorp.com/consul-template/0.11.1/consul-template_0.11.1_linux_amd64.zip
45+
# dest=/usr/local/bin
46+
# mode=0755
47+
#
48+
#- name: unzip
49+
# become: yes
50+
# unarchive:
51+
# src=consul-template_0.11.1_linux_amd64.zip
52+
# dest=/usr/local/bin
53+
# mode=0755
54+
#
55+
#- name: Download weave 141
56+
# become: yes
57+
# get_url:
58+
# url=https://github.com/weaveworks/weave/releases/download/v1.4.1/weave
59+
# dest=/usr/local/bin
60+
#

0 commit comments

Comments
 (0)