Enable copr repository with dnf module

7 views
Skip to first unread message

Marcin Zajączkowski

unread,
May 28, 2019, 4:24:40 PM5/28/19
to Ansible Project
Hi,

I wonder what's the recommended way to enable a COPR repository in dnf using Ansible?

I could just use a link to:
(probably with a guard task to prevent an unnecessary network call if already installed)

However, maybe there is some more dedicated way to use a dnf plugin for copr?

Marcin

James Cassell

unread,
May 28, 2019, 7:09:23 PM5/28/19
to Ansible List
I don't think it is possible today. I could imagine a yum_copr/dnf_copr module to accomplish that goal, or an extra feature to yum_repository module, however.

> Marcin
>


V/r,
James Cassell

Reply all
Reply to author
Forward
0 new messages