use command instead of yum_repo

This commit is contained in:
Chris Hammer 2023-11-10 12:40:32 -05:00
parent 65c742cf2d
commit f99abb7273

View File

@ -10,9 +10,9 @@
tasks:
- name: Enable CRB repository for python3-wheel
ansible.builtin.yum_repository:
name: crb
enabled: true
ansible.builtin.command:
cmd: dnf config-manager --enable crb
changed_when: true
- name: Ensure virtualenv command is present