浏览代码

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 }}"


正在加载...
取消
保存