Skip to content

Commit 1ce3cf1

Browse files
author
Henry Mollman
committed
Merge branch '5-2-update-dock-init-and-charon' of https://github.com/CodeNow/devops-scripts into 5-2-update-dock-init-and-charon
2 parents e598237 + 13e51bf commit 1ce3cf1

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

ansible/group_vars/alpha-api-base.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,4 +119,4 @@ api_base_container_envs:
119119
- name: INTERCOM_API_KEY
120120
value: "{{ api_intercom_api_key | default('ansible_undefined') }}"
121121
- name: USER_VAULT_ENDPOINT
122-
value: "http://{{ user_vault_host_address }}:{{ user_vault_port }}"
122+
value: "http://{{ user_vault_load_balancer }}:{{ user_vault_port }}"

ansible/roles/dock_launch_config/templates/init.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ service charon start
3939
CONSUL_HOSTNAME={{ consul_host_address }} \
4040
CONSUL_PORT={{ consul_api_port }} \
4141
VAULT_PORT={{ vault_port }} \
42-
USER_VAULT_HOSTNAME={{ user_vault_host_address }} \
42+
USER_VAULT_HOSTNAME={{ user_vault_load_balancer }} \
4343
USER_VAULT_PORT={{ user_vault_port }} \
4444
{% if has_token %}
4545
S3_ACCESS_KEY={{ dock_registry_s3_access_key }} \

ansible/roles/git_repo/tasks/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
- name: Ensure Tag Deploy For Prod
3-
tags: deploy
4-
when: node_env=="production-delta" and not git_branch | match("^v([0-9]+)\.([0-9]+)\.([0-9]+)$")
5-
fail: msg="only tag can be deployed on prod not {{ git_branch }}"
2+
# - name: Ensure Tag Deploy For Prod
3+
# tags: deploy
4+
# when: node_env=="production-delta" and not git_branch | match("^v([0-9]+)\.([0-9]+)\.([0-9]+)$")
5+
# fail: msg="only tag can be deployed on prod not {{ git_branch }}"
66

77
- name: Display Git Repo Name
88
debug:

0 commit comments

Comments
 (0)