geerlingguy.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です。通常、これらは変更しない方が良いですが、ロールが古い場合や特定のバージョンが必要な場合は上書きすることができます。
epel_repo_disable: false
EPELリポジトリを無効にする場合はtrue
に設定します(すでにインストールされていても)。
依存関係
なし。
使用例プレイブック
- hosts: servers
roles:
- geerlingguy.repo-epel
ライセンス
MIT / BSD
作者情報
このロールは2014年に、Jeff Geerlingによって作成されました。彼はAnsible for DevOpsの著者です。
インストール
ansible-galaxy install geerlingguy.repo-epel
ライセンス
mit
ダウンロード
4.6M
所有者
Father, author, developer, maker. Sometimes called "an inflammatory enigma". #stl #drupal #ansible #k8s #raspberrypi #crohns