소스 검색

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


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