Skip to content

Commit

Permalink
updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
milesbarry committed Jul 25, 2020
1 parent 753641b commit 96d52d0
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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).

0 comments on commit 96d52d0

Please sign in to comment.