diff --git a/roles/build-test-packages/tasks/github-pr.yml b/roles/build-test-packages/tasks/github-pr.yml index 00277d4b1..6279cc814 100644 --- a/roles/build-test-packages/tasks/github-pr.yml +++ b/roles/build-test-packages/tasks/github-pr.yml @@ -7,7 +7,7 @@ name: - rpm-build - ansible-macros - - ansible + - "ansible{% if ansible_distribution_major_version|int >= 9 %}-core{% endif %}" state: present disable_gpg_check: true become: true