{"id":1972,"date":"2015-05-30T23:18:30","date_gmt":"2015-05-30T14:18:30","guid":{"rendered":"http:\/\/blog.rutake.com\/techmemo\/?p=1972"},"modified":"2015-05-30T23:18:30","modified_gmt":"2015-05-30T14:18:30","slug":"ansible-%e5%ae%9f%e8%a1%8c%e6%99%82%e3%81%ab%e5%af%be%e8%b1%a1%e3%83%9b%e3%82%b9%e3%83%88%e3%82%92%e5%8b%95%e7%9a%84%e3%81%ab%e5%a4%89%e6%9b%b4%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/blog.rutake.com\/techmemo\/2015\/05\/30\/ansible-%e5%ae%9f%e8%a1%8c%e6%99%82%e3%81%ab%e5%af%be%e8%b1%a1%e3%83%9b%e3%82%b9%e3%83%88%e3%82%92%e5%8b%95%e7%9a%84%e3%81%ab%e5%a4%89%e6%9b%b4%e3%81%99%e3%82%8b\/","title":{"rendered":"Ansible \u5b9f\u884c\u6642\u306b\u5bfe\u8c61\u30db\u30b9\u30c8\u3092\u52d5\u7684\u306b\u5909\u66f4\u3059\u308b"},"content":{"rendered":"<p>Ansible\u3092\u5b9f\u884c\u3057\u3066\u3044\u3066\u3001\u30a4\u30f3\u30d9\u30f3\u30c8\u30ea\u306b\u3042\u308b\u30db\u30b9\u30c8\u3092\u5b9f\u884c\u6642\u306b\u5909\u66f4\u3057\u305f\u3044\u3068\u304d\u304c\u3042\u308b\u3002<br \/>\n\u305f\u3068\u3048\u3070\u30c6\u30b9\u30c8\u5b9f\u884c\u3067\u306f\u30ed\u30fc\u30ab\u30eb\u5bfe\u8c61\u306b\u3057\u3066\u3001\u3044\u3056\u3068\u306a\u3063\u305f\u3089\u30ea\u30e2\u30fc\u30c8\u306b\u3057\u305f\u3044\u306a\u3069<\/p>\n<p>\u305d\u3093\u306a\u6642\u306f\u4e0b\u8a18\u306e\u3088\u3046\u306aplaybook\u3092\u8a18\u8f09\u3057\u3066\u304a\u304f\u3068\u3001\u5b9f\u884c\u6642\u306b\u52d5\u7684\u306b\u5bfe\u8c61\u30db\u30b9\u30c8\u304c\u5909\u66f4\u3067\u304d\u308b\u3002<br \/>\n\u5165\u529b\u3059\u308b\u30db\u30b9\u30c8\u306f\u30a4\u30f3\u30d9\u30f3\u30c8\u30ea\u306b\u8a18\u8f09\u3055\u308c\u3066\u3044\u308b\u30db\u30b9\u30c8\u540d\u3068\u4e00\u81f4\u3055\u305b\u308b\u3053\u3068\uff01<\/p>\n<p>[shell]<br \/>\n&#8211; hosts: &#8216;{{ target_host }}&#8217;<br \/>\n  sudo: yes<br \/>\n  roles:<br \/>\n    &#8211; setup<br \/>\n  vars_prompt:<br \/>\n    &#8211; name: &#8220;target_host&#8221;<br \/>\n      prompt: &#8220;Please enter target_host&#8221;<br \/>\n      default: &#8220;default&#8221;<br \/>\n[\/shell]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ansible\u3092\u5b9f\u884c\u3057\u3066\u3044\u3066\u3001\u30a4\u30f3\u30d9\u30f3\u30c8\u30ea\u306b\u3042\u308b\u30db\u30b9\u30c8\u3092\u5b9f\u884c\u6642\u306b\u5909\u66f4\u3057\u305f\u3044\u3068\u304d\u304c &hellip; <a href=\"https:\/\/blog.rutake.com\/techmemo\/2015\/05\/30\/ansible-%e5%ae%9f%e8%a1%8c%e6%99%82%e3%81%ab%e5%af%be%e8%b1%a1%e3%83%9b%e3%82%b9%e3%83%88%e3%82%92%e5%8b%95%e7%9a%84%e3%81%ab%e5%a4%89%e6%9b%b4%e3%81%99%e3%82%8b\/\">\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":[],"_links":{"self":[{"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/posts\/1972"}],"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=1972"}],"version-history":[{"count":1,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/posts\/1972\/revisions"}],"predecessor-version":[{"id":1973,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/posts\/1972\/revisions\/1973"}],"wp:attachment":[{"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/media?parent=1972"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/categories?post=1972"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/tags?post=1972"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}