72
70

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.

[Ansible] sshで繋がずにlocalhostで実行する

Last updated at Posted at 2013-08-09

Ansible 1.6.2では特に設定不要だそうです (2014-05-28追記)

Ansibleチートシート(実行周り) - Qiitaの「ローカルでの実行」によるとAnsible 1.6.2では特に下記のような設定は不要だそうです。

以下元記事

ymlにconnection: localと書いておけば、わざわざlocalhostにsshで繋ぐことなくlocalhostで実行出来ます。コマンドラインで--connection=localと指定する手もあるそうです。

hosts: 127.0.0.1
connection: local

詳細はLocal Playbooksを参照してください。

72
70
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
72
70

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?