From e38c53356ab87286ce9debd73e4d2c33e070ef52 Mon Sep 17 00:00:00 2001 From: Jiri Popelka Date: Thu, 19 Oct 2023 12:10:43 +0200 Subject: [PATCH] Revert "Install pre-commit from PyPI" pre-commit is in EPEL 9 now https://bugzilla.redhat.com/show_bug.cgi?id=2032554 Reverts a84efec5 --- roles/pre_commit/tasks/main.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/roles/pre_commit/tasks/main.yml b/roles/pre_commit/tasks/main.yml index 9d943c8..0d2aec9 100644 --- a/roles/pre_commit/tasks/main.yml +++ b/roles/pre_commit/tasks/main.yml @@ -1,15 +1,11 @@ --- -- name: Install RPM packages +- name: Install packages ansible.builtin.dnf: name: - git-core + - pre-commit become: true -- name: Install pre-commit - ansible.builtin.pip: - name: - - pre-commit # https://bugzilla.redhat.com/show_bug.cgi?id=2032554 - - name: Run pre-commit ansible.builtin.command: pre-commit run --all-files --hook-stage manual --verbose args: