mirror of
				https://github.com/spantaleev/matrix-docker-ansible-deploy.git
				synced 2025-11-04 00:58:56 +01:00 
			
		
		
		
	convert shell to command usage
This commit is contained in:
		@@ -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 }}"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user