Sets up Remi repository on Redhat based hosts.
This role has below requirements:
- Python 3.x
- Ansible (min 2.4, suggested 2.9.16)
You can install suggested version with pip3:
$ pip3 install "ansible==2.9.16"
Note that this role requires root access, so either run it in a playbook with a global become: true
, or invoke the role in your playbook.
See the default values in defaults/main.yml. You can overwrite them in vars/main.yml if neccessary or you can set them while running playbook.
None
- hosts: all
become: true
roles:
- role: bilalcaliskan.remi
vars:
repo_url: http://fr2.rpmfind.net/linux/remi/enterprise/$releasever/remi/$basearch/
public_key_url: https://rpms.remirepo.net/RPM-GPG-KEY-remi
This project requires below tools for development:
- Python 3.x
- Ansible - (min 2.4, suggested 2.9.16)
- pre-commit
- ansible-lint - required by pre-commit
- Bash shell - required by pre-commit
After you install all the tools above, you can simply configure pre-commit by typing:
$ pre-commit install
Apache License 2.0