fix ansible-lint errors
This commit is contained in:
parent
8b425b995e
commit
3a49b0077c
|
@ -22,10 +22,11 @@
|
|||
- name: Save current git-repo status on the target to aid with restoring in case of problems
|
||||
when: "matrix_playbook_commit_hash_preservation_enabled|bool"
|
||||
block:
|
||||
- name: Get local git hash
|
||||
- name: Get local git hash # noqa command-instead-of-module
|
||||
delegate_to: 127.0.0.1
|
||||
become: false
|
||||
register: git_describe
|
||||
changed_when: false
|
||||
ansible.builtin.shell:
|
||||
git describe
|
||||
--always
|
||||
|
|
Loading…
Reference in a new issue