Skip to content

Commit daf8b10

Browse files
author
Myztiq
committed
Fixed deployment
1 parent 9163d32 commit daf8b10

2 files changed

Lines changed: 16 additions & 5 deletions

File tree

ansible/group_vars/alpha-starlord.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,25 @@ name: starlord
22

33
container_image: "{{ registry_host }}/runnable/{{ name }}"
44
container_tag: "{{ git_branch }}"
5+
inject_ca: false
56
repo: git@github.com:CodeNow/{{ name }}.git
67
node_version: "6.10.2"
78

8-
container_envs: >
9-
-e NODE_ENV={{ node_env }}
10-
-e VAULT_ENDPOINT=http://{{ user_vault_host_address }}:{{ user_vault_port }}
11-
-e VAULT_TOKEN={{ starlord_vault_token }}
9+
envs:
10+
- name: NODE_ENV
11+
value: "{{ node_env }}"
12+
- name: VAULT_ENDPOINT
13+
value: "http://{{ user_vault_host_address }}:{{ user_vault_port }}"
14+
- name: VAULT_TOKEN
15+
value: "{{starlord_vault_token}}"
16+
- name: RABBITMQ_HOSTNAME
17+
value: "{{ rabbit_host_address }}"
18+
- name: RABBITMQ_PASSWORD
19+
value: "{{ rabbit_password }}"
20+
- name: RABBITMQ_PORT
21+
value: "{{ rabbit_port }}"
22+
- name: RABBITMQ_USERNAME
23+
value: "{{ rabbit_username }}"
1224

1325
container_run_opts: >
1426
-h {{ name }}

ansible/starlord.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,4 @@
55
roles:
66
- role: notify
77
- role: builder
8-
- role: docker_client
98
- role: k8-deployment

0 commit comments

Comments
 (0)