copr-repository
Ansible Role: Copr Repository Management
Originally here - https://github.com/abn/role-copr-repository
All credit to original author. I have simply added meta data for Ansible Galaxy so I can bring this in as a dependency more easily.
This role allows for the addition and removal of a copr repository from CentOS/Fedora hosts.
Sample playbook
---
- hosts: all
become: yes
roles:
- copr-repository
Standalone usage
# install repository
ansible-playbook -i inventory -e copr_repository=abn/repository -e copr_repository_action=install copr-repository.yml
# remove repository
ansible-playbook -i inventory -e copr_repository=abn/repository -e copr_repository_action=remove copr-repository.yml
Dependency usage (meta/main.yml)
---
dependencies:
- { role: copr-repository, copr_repository: "abn/repository", copr_repository_action: "install" }
Install
ansible-galaxy install edmondscommerce/role-copr-repository
License
apache-2.0
Downloads
1106
Owner
Not just one person, in fact a few... developing ecommerce sites for fun and profit