{"description":"\u4ee5\u4e0b\u306e\u30db\u30b9\u30c8\u60c5\u5831\u3067\u63a5\u7d9a\u3092\u78ba\u8a8d\u3002 $ cat hosts vm-machine ansible_host=192.168.62.130 ansible_port=22 ansible_user=root ansible_ssh_pass=root_pass \u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u5b9f\u884c\u3002 ansible all -i hosts -m ping \u3059\u308b\u3068\u3001\"to use the 'ssh' connection type with passwords, you must install the sshpass program\"\u3068\u3044\u3046\u30a8\u30e9\u30fc\u304c\u3002 vm-machine | FAILED! => { \"faile\u2026","provider_name":"Hatena Blog","version":"1.0","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fprogrammers-investigation.hatenablog.com%2Fentry%2F2017%2F07%2F14%2F201208\" title=\"Ansible\u306eping\u3092\u4f7f\u3063\u3066\u63a5\u7d9a\u78ba\u8a8d\u3092\u3057\u305f\u3089 &quot;to use the &#39;ssh&#39; connection type with passwords, you must install the sshpass program&quot;\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u3002 - \u30d7\u30ed\u30b0\u30e9\u30de\u30fc\u306e\u8abf\u3079\u7269\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","title":"Ansible\u306eping\u3092\u4f7f\u3063\u3066\u63a5\u7d9a\u78ba\u8a8d\u3092\u3057\u305f\u3089 \"to use the 'ssh' connection type with passwords, you must install the sshpass program\"\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u3002","image_url":null,"url":"https://programmers-investigation.hatenablog.com/entry/2017/07/14/201208","blog_url":"https://programmers-investigation.hatenablog.com/","height":"190","categories":["Ansible"],"blog_title":"\u30d7\u30ed\u30b0\u30e9\u30de\u30fc\u306e\u8abf\u3079\u7269","author_name":"sho322","author_url":"https://blog.hatena.ne.jp/sho322/","published":"2017-07-14 20:12:08","provider_url":"https://hatena.blog"}