edmondscommerce.copr-repository
Ansibleロール: Coprリポジトリ管理
元の情報 - https://github.com/abn/role-copr-repository
元の著者に全てのクレジットがあります。私がしたのは、Ansible Galaxy用のメタデータを追加しただけで、これを依存関係としてより簡単に利用できるようにしました。
このロールは、CentOS/FedoraホストからCoprリポジトリを追加・削除することを可能にします。
サンプルプレイブック
---
- hosts: all
become: yes
roles:
- copr-repository
スタンドアロン使用
# リポジトリをインストール
ansible-playbook -i inventory -e copr_repository=abn/repository -e copr_repository_action=install copr-repository.yml
# リポジトリを削除
ansible-playbook -i inventory -e copr_repository=abn/repository -e copr_repository_action=remove copr-repository.yml
依存関係の使用 (meta/main.yml)
---
dependencies:
- { role: copr-repository, copr_repository: "abn/repository", copr_repository_action: "install" }
インストール
ansible-galaxy install edmondscommerce.copr-repository
ライセンス
apache-2.0
ダウンロード
1.1k
所有者
Not just one person, in fact a few... developing ecommerce sites for fun and profit