LoginSignup
2
1

More than 5 years have passed since last update.

ansibleが何もしなくなったとおもったら自分のミスだった件

Last updated at Posted at 2018-10-31

概要

ansibleでshellとかcommandとか、touchすらもできなかった。
なぜかわからなかったので、調べた。

結論

もともとは、Dry run したくて、以下のオプションをつけて実行していた。

--check

参照

以下のようなメッセージがでていて、どうも、何も実行されない。

Conditional result was False

よくみるとこんなメッセージもでていた。

skipped, running in check mode

どうも、おかしいとおもっていたら、ansible-playbook 実行時に、 --check をつけていたためのようである。
もともと Dry Run をしたかったので、完全に自分のミスであるが、はまってしまうとよくわからなくなった。

参考情報

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