Skip to content

Commit ff32a9b

Browse files
authored
feedback
1 parent 020918c commit ff32a9b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

ansible/roles/git_repo/tasks/main.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
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 }}"
6+
27
- name: Display Git Repo Name
38
debug:
49
msg: "application Installed: {{ app_name }}, branch : {{ git_branch }} "

0 commit comments

Comments
 (0)