Skip to content

Commit 33b39fe

Browse files
committed
update scripts
1 parent 4b470b4 commit 33b39fe

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

ansible/roles/dock_launch_config/tasks/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
set_fact:
4444
vault_tokens:
4545
- { file_name: 'auth-token', value: "{{ vault_auth_token }}" }
46+
- { file_name: 'user-vault-auth-token', value: "{{ dock_vault_user_creation_access_token }}" }
4647
- { file_name: 'token-01', value: "{{ vault_token_01 }}" }
4748
- { file_name: 'token-02', value: "{{ vault_token_02 }}" }
4849
- { file_name: 'token-03', value: "{{ vault_token_03 }}" }

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)