4
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

ansible-playbook で epel レポジトリを有効にする ( jq コマンドをインストールする例 )

Last updated at Posted at 2018-06-19
  • いったん epel-release を yum install する
  • 次に enablerepo: epel でレポジトリを有効化して必要なライブラリをインストールする
roles/some_role/tasks/main.yml
- name: install epel-release
  yum:
    name: epel-release
    state: present
  sudo: yes

- name: install jq
  yum:
    name: jq
    state: present
    enablerepo: epel
  sudo: yes

環境

  • ansible 1.9.6
  • CentOS release 6.9 (Final)
  • Docker version 18.03.1-ce, build 9ee9f40

チャットメンバー募集

何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

Twitter

4
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?