juju4.redhat_epel
RedHat EPEL Ansible Role
This is a simple Ansible role to set up RedHat EPEL.
Requirements & Dependencies
Ansible
This role has been tested on these versions:
- 1.9
- 2.0
- 2.2
Operating Systems
Tested on CentOS 7 and 8.
Example Playbook
To use this role, just add it to your list of roles. For example:
- host: all
roles:
- juju4.redhat-epel
Variables
Currently, there are no specific variables needed.
Continuous Integration
This role includes a basic test on Travis (for GitHub), with more advanced tests using Kitchen. There's also a Vagrantfile located in the test/vagrant
directory.
The default Kitchen configuration is set for LXD, while the Vagrant setup is for Vagrant/VirtualBox.
To run tests, make sure all required roles are present, then use:
$ cd /path/to/roles/juju4.redhat-epel
$ kitchen verify
$ kitchen login
$ KITCHEN_YAML=".kitchen.vagrant.yml" kitchen verify
or
$ cd /path/to/roles/juju4.redhat-epel/test/vagrant
$ vagrant up
$ vagrant ssh
Troubleshooting & Known Issues
- EPEL for RedHat/CentOS 6 is still available, but it is End of Life (EOL). It's highly recommended to upgrade to a more recent version.
License
BSD 2-clause