mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-22 12:35:51 +00:00
convert shell to command usage
This commit is contained in:
parent
2b049da963
commit
45c9c2b17a
@ -26,13 +26,14 @@
|
|||||||
delegate_to: 127.0.0.1
|
delegate_to: 127.0.0.1
|
||||||
become: false
|
become: false
|
||||||
register: git_describe
|
register: git_describe
|
||||||
ansible.builtin.shell:
|
ansible.builtin.command:
|
||||||
git describe
|
cmd: >-
|
||||||
--always
|
git describe
|
||||||
--tags
|
--always
|
||||||
--dirty
|
--tags
|
||||||
--long
|
--dirty
|
||||||
--all
|
--long
|
||||||
|
--all
|
||||||
|
|
||||||
- ansible.builtin.set_fact:
|
- ansible.builtin.set_fact:
|
||||||
git_hash: "{{ git_describe.stdout }}"
|
git_hash: "{{ git_describe.stdout }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user