Skip to content

bilalcaliskan/remi-ansible-role

Repository files navigation

Remi Ansible Role

CI GitHub tag

Sets up Remi repository on Redhat based hosts.

Requirements

This role has below requirements:

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.

Role Variables

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.

Dependencies

None

Example Playbook File

- 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

Development

This project requires below tools for development:

After you install all the tools above, you can simply configure pre-commit by typing:

$ pre-commit install

License

Apache License 2.0