8
9

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.

VagrantでCentOS7でAnsibleインストール

Last updated at Posted at 2015-07-28

実行環境

  • osx
  • Vagrant
  • virtualbox

CentOS7をインストール

osx
$ mkdir centos7
$ cd centos7
$ vagrant init chef/centos-7.0; vagrant up --provider virtualbox

CentOSにAnsibleをインストール

CentOSにログイン

osx
$ vagrant ssh

yumの追加リポジトリepelが必要なのでインストールしてからAnsibleをインストール

centos
$ sudo yum install -y epel-release
$ sudo yum install -y ansible

バージョンを確認して終わり

centos
$ ansible --version
ansible 1.9.2
8
9
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
8
9

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?