A simple role to sync yum repos. The role will install httpd to serve the synced repos and store them at /var/www/html. Custom directories are not supported in this version.
- Access to the syncing repos from the target host.
- A valid RHN subscription for Red Hat repos.
Branch | Status | Description | Date |
---|---|---|---|
main | Unstable | Development Branch | Now |
1.0.0 | Release | Release 1.0.0 | 16-08-2021 |
Variable | Level | Type | Description |
---|---|---|---|
repolist | Default | list(string) | The repolist to sync |
- ansible.posix collection - https://docs.ansible.com/ansible/latest/collections/ansible/posix/index.html
---
- hosts: repo_server
become: yes
roles:
- role: infra_server_repo_reposync
vars:
repolist:
- ansible-2.9-for-rhel-8-x86_64-rpms
- advanced-virt-for-rhel-8-x86_64-rpms
- satellite-tools-6.5-for-rhel-8-x86_64-rpms
Apache-2.0
Petros Petrou
email: ppetrou@gmail.com
web: www.petrospetrou.co.uk