{"id":2543,"date":"2016-01-28T13:06:02","date_gmt":"2016-01-28T04:06:02","guid":{"rendered":"http:\/\/blog.rutake.com\/techmemo\/?p=2543"},"modified":"2016-01-28T13:06:02","modified_gmt":"2016-01-28T04:06:02","slug":"ansible-%e6%96%87%e6%b3%95%e3%83%81%e3%82%a7%e3%83%83%e3%82%af%e3%81%a8dryrun","status":"publish","type":"post","link":"https:\/\/blog.rutake.com\/techmemo\/2016\/01\/28\/ansible-%e6%96%87%e6%b3%95%e3%83%81%e3%82%a7%e3%83%83%e3%82%af%e3%81%a8dryrun\/","title":{"rendered":"Ansible \u6587\u6cd5\u30c1\u30a7\u30c3\u30af\u3068dryrun"},"content":{"rendered":"<p>Ansible\u3067\u6700\u4f4e\u9650\u306e\u6587\u6cd5\u30c1\u30a7\u30c3\u30af\u3092\u3057\u3066\u304f\u308c\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u306f&#8211;syntax-check<\/p>\n<p>[shell]<br \/>\nansible-playbook -i hosts simple-playbook.yml &#8211;syntax-check<br \/>\n[\/shell]<\/p>\n<p>\u3055\u3089\u306b\u5b9f\u969b\u306b\u306f\u5b9f\u884c\u3057\u306a\u3044\u3051\u3069\u3001\u5404\u30bf\u30b9\u30af\u3092dry-run\u3059\u308b\u306b\u306f-C\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4f7f\u3046\u3002<\/p>\n<p>[shell]<br \/>\nansible-playbook -i hosts simple-playbook.yml -C<br \/>\n[\/shell]<\/p>\n<p>\u524d\u306e\u51e6\u7406\u7d50\u679c\u3067\u53d7\u3051\u53d6\u3063\u305f\u5909\u6570\u3092\u6b21\u306e\u30bf\u30b9\u30af\u3067\u5229\u7528\u3059\u308b\u306a\u3069\u306e\u66f8\u304d\u65b9\u3092\u3057\u3066\u3044\u308b\u3068dry-run\u3067\u3082\u3053\u3051\u3066\u3057\u307e\u3046\u304c\u3001\u57fa\u672c\u7684\u306a\u3082\u306e\u3067\u3042\u308c\u3070dry-run\u53ef\u80fd\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ansible\u3067\u6700\u4f4e\u9650\u306e\u6587\u6cd5\u30c1\u30a7\u30c3\u30af\u3092\u3057\u3066\u304f\u308c\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u306f&#8211;syn &hellip; <a href=\"https:\/\/blog.rutake.com\/techmemo\/2016\/01\/28\/ansible-%e6%96%87%e6%b3%95%e3%83%81%e3%82%a7%e3%83%83%e3%82%af%e3%81%a8dryrun\/\">\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,496,495],"_links":{"self":[{"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/posts\/2543"}],"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=2543"}],"version-history":[{"count":1,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/posts\/2543\/revisions"}],"predecessor-version":[{"id":2544,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/posts\/2543\/revisions\/2544"}],"wp:attachment":[{"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/media?parent=2543"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/categories?post=2543"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/tags?post=2543"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}