### Example
## yumrepo.yml
---
- name: configure yum repo
hosts: all
become: yes
tasks:
- name: Configure Appstream
yum_repository:
name: "Applications"
description: "Apps"
baseurl: file:///media/AppStream
enabled: yes
gpgcheck: 0
# or gpgcheck: http://content....
- name: Configure BaseOS
yum_repository:
name: "BaseOS"
description: "Operating System"
baseurl: file:///media/BaseOS
enabled: yes
gpgcheck: 0
|