Skip to content
This repository was archived by the owner on Mar 30, 2025. It is now read-only.

Commit a4fb1b7

Browse files
committed
Fix command module parameter
1 parent f43ee89 commit a4fb1b7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tasks/main.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,10 @@
2929
when: pipx_version_cmd is failed
3030

3131
- name: Check if pre-commit is installed
32-
command:
33-
path: "{{ ansible_env.HOME }}/.local/bin/pre-commit"
32+
command: "{{ ansible_env.HOME }}/.local/bin/pre-commit"
3433
register: pre_commit_cmd
34+
changed_when: false
35+
ignore_errors: true
3536

3637
- name: Install pre-commit
3738
command: "{{ ansible_env.HOME }}/.local/bin/pipx install pre-commit"

0 commit comments

Comments
 (0)