{"id":1966,"date":"2015-05-29T14:49:25","date_gmt":"2015-05-29T05:49:25","guid":{"rendered":"http:\/\/blog.rutake.com\/techmemo\/?p=1966"},"modified":"2015-05-29T14:49:25","modified_gmt":"2015-05-29T05:49:25","slug":"ansible-when%e3%81%a7%e5%a4%89%e6%95%b0%e3%81%8c%e3%81%aa%e3%81%84%e3%81%a8%e3%81%8d%e3%81%ae%e3%82%a8%e3%83%a9%e3%83%bc-fatal-localhost-error-while-evaluating-conditional","status":"publish","type":"post","link":"https:\/\/blog.rutake.com\/techmemo\/2015\/05\/29\/ansible-when%e3%81%a7%e5%a4%89%e6%95%b0%e3%81%8c%e3%81%aa%e3%81%84%e3%81%a8%e3%81%8d%e3%81%ae%e3%82%a8%e3%83%a9%e3%83%bc-fatal-localhost-error-while-evaluating-conditional\/","title":{"rendered":"Ansible when\u3067\u5909\u6570\u304c\u306a\u3044\u3068\u304d\u306e\u30a8\u30e9\u30fc fatal: [localhost] => error while evaluating conditional:"},"content":{"rendered":"<p>Ansible\u306f\u4fbf\u5229\u306a\u30c4\u30fc\u30eb\u3060\u304c\u3001\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u4e0d\u89aa\u5207\u6975\u307e\u308a\u306a\u3044\u3002<\/p>\n<p>\u3053\u306e\u5834\u5408\u5909\u6570\u304c\u672a\u5b9a\u7fa9\u306a\u305f\u3081\u30a8\u30e9\u30fc\u3068\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3042\u308b\u304c\u3001\u3082\u3046\u3061\u3087\u3063\u3068\u8e0f\u307f\u8fbc\u3093\u3067\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u51fa\u3057\u3066\u3082\u3089\u3044\u305f\u3044\u3082\u306e\u3060\u3002<\/p>\n<p>\u5909\u6570\u3092\u5b9a\u7fa9\u3057\u3066\u3001\u5b9f\u884c\u3059\u308b\u306b\u306f\u5916\u90e8\u304b\u3089\u52d5\u7684\u306b\u6307\u5b9a\u3059\u308b\u304bvars\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u8a18\u8f09\u3057\u3066\u304a\u304f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ansible\u306f\u4fbf\u5229\u306a\u30c4\u30fc\u30eb\u3060\u304c\u3001\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u4e0d\u89aa\u5207\u6975\u307e\u308a\u306a\u3044\u3002 \u3053\u306e\u5834\u5408 &hellip; <a href=\"https:\/\/blog.rutake.com\/techmemo\/2015\/05\/29\/ansible-when%e3%81%a7%e5%a4%89%e6%95%b0%e3%81%8c%e3%81%aa%e3%81%84%e3%81%a8%e3%81%8d%e3%81%ae%e3%82%a8%e3%83%a9%e3%83%bc-fatal-localhost-error-while-evaluating-conditional\/\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[364],"tags":[365,366],"_links":{"self":[{"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/posts\/1966"}],"collection":[{"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/comments?post=1966"}],"version-history":[{"count":1,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/posts\/1966\/revisions"}],"predecessor-version":[{"id":1967,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/posts\/1966\/revisions\/1967"}],"wp:attachment":[{"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/media?parent=1966"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/categories?post=1966"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/tags?post=1966"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}