0
0

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 playbook実行時にGathering FactsでTimeoutErrorが出るときの対処

Posted at

ansible playbook実行時に下記のエラーがでたときの対処

TASK [Gathering Facts] *********************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TimeoutError: Timer expired after 10 seconds
fatal: [10.193.xx.xx]: FAILED! => {"changed": false, "cmd": "/usr/bin/udevadm info --query property --name /dev/sdn1", "msg": "Timer expired after 10 seconds", "rc": 257}

対処方法

udevadmコマンドがこけてるように見えるが、実際はansible.cfgに設定されているtimeout時間を超えてしまったためにでるエラー。
なので、このtimeout時間を伸ばしてやれば良い。

ansible.cfg
gather_timeout=20

参考

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?