ソースを参照

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


読み込み中…
キャンセル
保存