소스 검색

Revert "convert shell to command usage" to allow for a catching the specific "git: not found" error.

This reverts commit 45c9c2b17a.
pull/2217/head
ikkemaniac 3 년 전
부모
커밋
93615b6ad9
1개의 변경된 파일7개의 추가작업 그리고 8개의 파일을 삭제
  1. +7
    -8
      roles/matrix-base/tasks/setup_matrix_base.yml

+ 7
- 8
roles/matrix-base/tasks/setup_matrix_base.yml 파일 보기

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

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


불러오는 중...
취소
저장