79488539

Date: 2025-03-06 07:25:48
Score: 1.5
Natty:
Report link

According to https://github.com/ansible/ansible-lint/issues/1780

I think it's a better idea.

- name: Check if git lfs is installed
  community.general.git_config:
    list_all: true
    scope: global
  register: git_global_config

- name: Setup Git LFS
  ansible.builtin.command: git lfs install
  when: "'filter.lfs.required' not in git_global_config.config_values"
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Zouper Zou