2
1

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 5 years have passed since last update.

Oracle LinuxにAnsibleインストール

Last updated at Posted at 2019-06-20

Oracle Linux 7.6にAnsibleインストール。

※Oracle Linux Yum Serverリポジトリより
https://docs.oracle.com/cd/E77565_01/E54669/html/ol7-downloading-yum-repo.html

Ansibleインストール

# リポジトリのダウンロード
curl -o /etc/yum.repos.d/public-yum-ol7.repo http://yum.oracle.com/public-yum-ol7.repo

# インストール (リポジトリ指定)
yum install ansible --enablerepo=ol7_openstack30

# バージョン確認
ansible --version

Ansible検証コマンド (おまけ)

# 疎通確認
ansible all -i インベントリファイル名 -m ping
※インベントリファイルにて鍵・ユーザ指定
 
# 構文チェック
ansible-playbook -i インベントリファイル名 プレイブックファイル名 --syntax-check
 
# ドライラン
ansible-playbook -i インベントリファイル名 プレイブックファイル名 --check

2
1
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
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?