Просмотр исходного кода

fix ansible-lint errors

pull/2217/head
ikkemaniac 3 лет назад
Родитель
Сommit
3a49b0077c
1 измененных файлов: 2 добавлений и 1 удалений
  1. +2
    -1
      roles/matrix-base/tasks/setup_matrix_base.yml

+ 2
- 1
roles/matrix-base/tasks/setup_matrix_base.yml Просмотреть файл

@@ -22,10 +22,11 @@
- name: Save current git-repo status on the target to aid with restoring in case of problems - 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" when: "matrix_playbook_commit_hash_preservation_enabled|bool"
block: block:
- name: Get local git hash
- name: Get local git hash # noqa command-instead-of-module
delegate_to: 127.0.0.1 delegate_to: 127.0.0.1
become: false become: false
register: git_describe register: git_describe
changed_when: false
ansible.builtin.shell: ansible.builtin.shell:
git describe git describe
--always --always


Загрузка…
Отмена
Сохранить