From 96d52d041c8fc3458b12d0c9bc8a7b4a986edeec Mon Sep 17 00:00:00 2001 From: Miles Barry Date: Sat, 25 Jul 2020 18:10:06 +0200 Subject: [PATCH] updated README.md --- README.md | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index bc2e3f6..d8b6c75 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,13 @@ ## rhel-repo-sync -Is an `ansible` playbook to retrieve and refactor the SSL certificates and -repository information from a given subscribed server or servers, thus allowing -the host or hosts to be able to syncronise with Red Hat CDN as if it was a -subscribed host. +Is an `ansible` playbook allowing you to host multiple Red Hat version +repositories all on one (or more) servers. By retrieving and refactoring the SSL +certificates and repository information from a given subscribed server(s) thus +allowing the host or hosts to be able to syncronise with Red Hat CDN as if it +was a subscribed host. + +The example below uses two existing Red Hat servers, one RHEL6 and one RHEL7. +Both machines have a valid subscription for the repositories we want to host. Simply configure in the `vars` the variable `servers` describing the `FQDN` and what Red Hat `release` the server is, and finally a list of the `repos` you are @@ -109,3 +113,9 @@ file, the refactored `.repo` files, and the SSL certificates. An example: │   └── rhel-server-rhscl-7-rpms.repo └── yum.conf ``` + +Each `.repo` file is generated by extracting the INI section and refactoring it +from the original `redhat.repo` file present on the subscribed server. Changes +made are that we point the SSL certificates and key to the new path. Hardcode +the `releasever` and set the `basearch` to `x86_64` (May add other architecture +options if requested).