Ansible
基礎
始め方
導通確認
構文確認
実行
途中から実行
Playbookの記述
ディレクトリ構成
モジュール
apt,yum
file
copy
複数ファイルをコピーする
template
スクリプト
get_url
ユースケース別タスクの書き方
再起動させたい
Tips
FAILED! => {"msg": "to use the 'ssh' connection type with passwords, you must install the sshpass program"}
FAILED! => {"msg": "to use the 'ssh' connection type with passwords, you must install the sshpass program"}scriptとcommandとshellの違い
FAQ
初回にでるフィンガープリントを無視する Are you sure you want to continue connecting
fatal: : FAILED! => {"changed": false, "failed": true, "module_stderr": "sudo: パスワードが必要ですn", "module_stdout": "", "msg": "MODULE FAILURE", "rc": 1}
Aborting, target uses selinux but python bindings (libselinux-python) aren't installed! というエラーがでる
Last updated