瀏覽代碼

convert shell to command usage

pull/2217/head
ikkemaniac 3 年之前
父節點
當前提交
45c9c2b17a
共有 1 個檔案被更改,包括 8 行新增7 行删除
  1. +8
    -7
      roles/matrix-base/tasks/setup_matrix_base.yml

+ 8
- 7
roles/matrix-base/tasks/setup_matrix_base.yml 查看文件

@@ -26,13 +26,14 @@
delegate_to: 127.0.0.1
become: false
register: git_describe
ansible.builtin.shell:
git describe
--always
--tags
--dirty
--long
--all
ansible.builtin.command:
cmd: >-
git describe
--always
--tags
--dirty
--long
--all

- ansible.builtin.set_fact:
git_hash: "{{ git_describe.stdout }}"


Loading…
取消
儲存