Revert "convert shell to command usage" to allow for a catching the specific "git: not found" error.
This reverts commit 45c9c2b17a
.
This commit is contained in:
parent
45c9c2b17a
commit
93615b6ad9
1 changed files with 7 additions and 8 deletions
|
@ -26,8 +26,7 @@
|
||||||
delegate_to: 127.0.0.1
|
delegate_to: 127.0.0.1
|
||||||
become: false
|
become: false
|
||||||
register: git_describe
|
register: git_describe
|
||||||
ansible.builtin.command:
|
ansible.builtin.shell:
|
||||||
cmd: >-
|
|
||||||
git describe
|
git describe
|
||||||
--always
|
--always
|
||||||
--tags
|
--tags
|
||||||
|
|
Loading…
Add table
Reference in a new issue