Is there any way to use distro-sync (Distribution Synchronization) option of yum inside Yum Ansible Module.?

5 views
Skip to first unread message

Rahul Kumar

unread,
Jul 18, 2019, 12:30:37 PM7/18/19
to Ansible Project
Hi , I want below command simulation using Ansible yum module:
yum distro-sync --disablerepo='*' --enablerepo='myrepo'

I dont think currently yum provides any option called distro-sync.  Does that mean i need to use shell module for such command emulation?
Reply all
Reply to author
Forward
0 new messages