We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95a3e79 commit 20cef45Copy full SHA for 20cef45
ansible/roles/dev_tools/tasks/main.yaml
@@ -3,20 +3,12 @@
3
become: true
4
ansible.builtin.apt:
5
name: git-lfs
6
- state: latest
+ state: present
7
update_cache: true
8
9
-# ref: https://github.com/ansible/ansible-lint/issues/1780
10
-- name: Check if git lfs is installed # https://github.com/git-lfs/git-lfs/issues/901
11
- community.general.git_config:
12
- list_all: true
13
- scope: global
14
- register: dev_tools__git_lfs__git_global_config
15
-
16
-- name: Setup Git LFS
+- name: Setup Git LFS for current user
17
ansible.builtin.command: git lfs install
18
- when: "'filter.lfs.required' not in dev_tools__git_lfs__git_global_config.config_values"
19
- changed_when: true
+ changed_when: false
20
21
- name: Install pipx
22
0 commit comments