We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f0aefd commit 073c23cCopy full SHA for 073c23c
ansible/roles/notify/tasks/main.yml
@@ -6,6 +6,19 @@
6
register: local_username
7
delegate_to: 127.0.0.1
8
9
+- name: get the username running the deploy
10
+ tags:
11
+ - always
12
+ local_action: command git status -uno
13
+ register: branch
14
+ delegate_to: 127.0.0.1
15
+
16
+- name: print number of contaienrs
17
18
19
+ debug:
20
+ msg: "{{ branch | match("Already up-to-date")}}"
21
22
- name: send start message
23
run_once: yes
24
changed_when: True
0 commit comments