chauanhtuandl.repo_epel
Ansibleロール: EPELリポジトリ
RHEL/CentOS用のEPELリポジトリ(Enterprise Linux向けの追加パッケージ)をインストールします。
要件
このロールは、RHELおよびその派生ものでのみ必要です。
ロール変数
利用可能な変数は以下に示され、デフォルト値があります(defaults/main.yml
を参照):
epel_repo_url: "http://download.fedoraproject.org/pub/epel/{{ ansible_distribution_major_version }}/{{ ansible_userspace_architecture }}{{ '/' if ansible_distribution_major_version < '7' else '/e/' }}epel-release-{{ ansible_distribution_major_version }}-{{ epel_release[ansible_distribution_major_version] }}.noarch.rpm"
epel_repo_gpg_key_url: "/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-{{ ansible_distribution_major_version }}"
EPELリポジトリのURLとGPGキーのURLです。通常、これらは変更しない方が良いですが、このロールが古い場合や特定のバージョンが必要な場合は、上書きすることができます。
依存関係
なし。
例プレイブック
- hosts: servers
roles:
- geerlingguy.repo-epel
ライセンス
MIT / BSD
作成者情報
このロールは2014年にJeff Geerlingによって作成されました。彼はAnsible for DevOpsの著者です。