{"id":195803,"date":"2020-07-09T00:06:21","date_gmt":"2020-07-08T16:06:21","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=195803"},"modified":"2020-07-09T00:06:21","modified_gmt":"2020-07-08T16:06:21","slug":"ex407","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/ex407.html","title":{"rendered":"EX407\uff1a\u7ea2\u5e3d\u8ba4\u8bc1 Ansible \u81ea\u52a8\u5316\u4e13\u5bb6\u8003\u8bd5"},"content":{"rendered":"
\u8003\u8bd5\u6982\u8ff0<\/strong><\/p>\n \u7ea2\u5e3d\u8ba4\u8bc1 Ansible \u81ea\u52a8\u5316\u4e13\u5bb6\u8003\u8bd5\uff08EX407\uff09\u65e8\u5728\u6d4b\u8bd5\u60a8\u8fd0\u7528 Ansible \u5b9e\u73b0\u7cfb\u7edf\u548c\u5e94\u7528\u914d\u7f6e\u81ea\u52a8\u5316\u7684\u80fd\u529b\u3002<\/p>\n \u901a\u8fc7\u6b64\u9879\u8003\u8bd5\u540e\uff0c\u60a8\u5c06\u6210\u4e3a\u7ea2\u5e3d\u8ba4\u8bc1 Ansible \u81ea\u52a8\u5316\u4e13\u5bb6\uff0c\u5e76\u5c06\u8ba1\u5165\u7ea2\u5e3d\u8ba4\u8bc1\u67b6\u6784\u5e08\uff08RHCA\uff09\u7684\u8ba4\u8bc1\u6210\u7ee9\u4e2d\u3002<\/p>\n \u672c\u8bfe\u7a0b\u57fa\u4e8e\u7ea2\u5e3d\u00ae \u4f01\u4e1a Linux\u00ae 7.5 \u548c Ansible 2.7\u3002<\/p>\n \u73b0\u5728\uff0c\u6b64\u9879\u8003\u8bd5\u6db5\u76d6\u7684\u6750\u6599\u5305\u542b\u5728\u7ea2\u5e3d\u8ba4\u8bc1\u5de5\u7a0b\u5e08 (RHCE) \u8003\u8bd5 (EX294)\u00a0\u7684\u8bfe\u7a0b\u4e2d\u3002\u6b64\u9879\u65b0\u8003\u8bd5\u65e8\u5728\u6d4b\u8bd5\u60a8\u80fd\u5426\u4f7f\u7528\u7ea2\u5e3d Ansible \u81ea\u52a8\u5316\u4f7f\u4e0d\u540c\u529f\u80fd\u5b9e\u73b0\u81ea\u52a8\u5316\u5e76\u6709\u6548\u6269\u5c55\u57fa\u7840\u67b6\u6784\u3002<\/p>\n \u8003\u6838\u5bf9\u8c61<\/strong><\/p>\n \u8003\u8bd5\u524d\u63d0\u6761\u4ef6<\/strong><\/p>\n \u8003\u67e5\u8981\u70b9<\/strong><\/p>\n \u6211\u4eec\u5efa\u8bae\u8003\u751f\u5728\u53c2\u52a0\u6b64\u9879\u8003\u8bd5\u524d\u5148\u6210\u4e3a\u7ea2\u5e3d\u8ba4\u8bc1\u5de5\u7a0b\u5e08\uff08RHCE\u00ae\uff09\u6216\u81f3\u5c11\u6210\u4e3a\u7ea2\u5e3d\u8ba4\u8bc1\u7cfb\u7edf\u7ba1\u7406\u5458\uff08RHCSA\u00ae\uff09\uff0c\u4f46\u4e24\u8005\u5e76\u4e0d\u5f3a\u5236\u8981\u6c42\u3002<\/p>\n \u4e3a\u4e86\u5e2e\u52a9\u60a8\u5907\u8003\uff0c\u8bf7\u67e5\u770b\u672c\u6587\u7ed9\u51fa\u7684\u8003\u8bd5\u76ee\u6807\uff0c\u5176\u4e2d\u5217\u51fa\u4e86\u64cd\u4f5c\u4efb\u52a1\u7684\u8003\u67e5\u8303\u56f4\u3002\u7ea2\u5e3d\u4fdd\u7559\u6dfb\u52a0\u3001\u66f4\u6539\u548c\u5220\u9664\u8003\u8bd5\u76ee\u6807\u7684\u6743\u5229\u3002\u6b64\u7c7b\u53d8\u66f4\u5c06\u5728\u8003\u524d\u516c\u5e03\u3002<\/p>\n \u60a8\u5e94\u80fd\u591f\uff1a<\/p>\n \u5bf9\u4e8e\u6240\u6709\u5b9e\u9645\u4efb\u52a1\u64cd\u4f5c\u578b\u7684\u7ea2\u5e3d\u8003\u8bd5\uff0c\u60a8\u7684\u6240\u6709\u7cfb\u7edf\u914d\u7f6e\u5fc5\u987b\u5728\u91cd\u542f\u540e\u4ecd\u7136\u6709\u6548\uff08\u65e0\u9700\u4eba\u5de5\u5e72\u9884\uff09\u3002<\/p>\n \u5907\u8003<\/strong><\/p>\n \u7ea2\u5e3d\u5efa\u8bae\u60a8\u5b66\u4e60\u5229\u7528 Ansible \u5b9e\u73b0\u81ea\u52a8\u5316\u4e00\uff08DO407\uff09\u8bfe\u7a0b\uff0c\u4ee5\u5e2e\u52a9\u5907\u8003\u3002\u6b64\u8bfe\u7a0b\u5e76\u975e\u5f3a\u5236\u6027\u8981\u6c42\uff0c\u8003\u751f\u53ef\u4ee5\u9009\u62e9\u53ea\u53c2\u52a0\u8003\u8bd5\u3002<\/p>\n \u5c3d\u7ba1\u53c2\u52a0\u7ea2\u5e3d\u57f9\u8bad\u8bfe\u7a0b\u662f\u60a8\u5907\u8003\u7684\u4e00\u4e2a\u91cd\u8981\u90e8\u5206\uff0c\u4f46\u53ea\u53c2\u52a0\u8bfe\u7a0b\u5e76\u4e0d\u80fd\u786e\u4fdd\u987a\u5229\u901a\u8fc7\u8003\u8bd5\u3002\u60a8\u7684\u4ee5\u5f80\u7ecf\u9a8c\u3001\u5b9e\u8df5\u4ee5\u53ca\u81ea\u8eab\u8d44\u8d28\u4e5f\u662f\u51b3\u5b9a\u80fd\u5426\u901a\u8fc7\u8003\u8bd5\u7684\u91cd\u8981\u56e0\u7d20\u3002<\/p>\n \u6211\u4eec\u62e5\u6709\u4f17\u591a\u6709\u5173\u7ea2\u5e3d\u4ea7\u54c1\u7cfb\u7edf\u7ba1\u7406\u7684\u4e66\u7c4d\u548c\u5b66\u4e60\u8d44\u6e90\u4f9b\u60a8\u9009\u62e9\u3002\u7ea2\u5e3d\u672a\u6307\u5b9a\u4efb\u4f55\u5185\u5bb9\u4f5c\u4e3a\u5907\u8003\u6307\u5357\u3002\u7136\u800c\uff0c\u60a8\u53ef\u80fd\u53d1\u73b0\u989d\u5916\u7684\u9605\u8bfb\u4f1a\u5bf9\u52a0\u6df1\u7406\u89e3\u6709\u5e2e\u52a9\u3002<\/p>\n \u8003\u8bd5\u5f62\u5f0f<\/strong><\/p>\n \u8fd9\u662f\u4e00\u9879\u57fa\u4e8e\u5b9e\u9645\u64cd\u4f5c\u80fd\u529b\u7684\u8003\u8bd5\uff0c\u65e8\u5728\u8bc4\u4f30\u60a8\u8fd0\u7528 Ansible \u5b9e\u73b0\u7cfb\u7edf\u914d\u7f6e\u548c\u5e94\u7528\u90e8\u7f72\u81ea\u52a8\u5316\u7684\u80fd\u529b\u3002\u8003\u8bd5\u57fa\u4e8e\u5b9e\u9645\u64cd\u4f5c\uff0c\u8981\u6c42\u60a8\u6267\u884c\u7c7b\u4f3c\u65e5\u5e38\u5de5\u4f5c\u804c\u8d23\u7684\u4efb\u52a1\u64cd\u4f5c\u3002<\/p>\n \u60a8\u9700\u8981\u5f00\u53d1 Ansible playbook \u6765\u4e3a\u7279\u5b9a\u7684\u89d2\u8272\u914d\u7f6e\u7cfb\u7edf\uff0c\u7136\u540e\u5c06 playbook \u5e94\u7528\u81f3\u7cfb\u7edf\u6765\u5b9e\u65bd\u8fd9\u4e9b\u89d2\u8272\u3002\u6b64\u5916\uff0c\u60a8\u8fd8\u9700\u8981\u5c55\u793a\u81ea\u5df1\u9488\u5bf9\u7279\u5b9a\u884c\u4e3a\u8fd0\u884c Ansible playbook \u548c\u914d\u7f6e Ansible \u73af\u5883\u7684\u80fd\u529b\u3002\u60a8\u5c06\u63a5\u53d7\u76f8\u5e94\u4efb\u52a1\u8bc4\u4f30\uff0c\u4ee5\u786e\u5b9a\u662f\u5426\u8fbe\u5230\u89c4\u5b9a\u7684\u8bc4\u6d4b\u6807\u51c6\u3002<\/p>\n \u6210\u7ee9\u53ca\u516c\u5e03<\/strong><\/p>\n \u8003\u8bd5\u7684\u5b98\u65b9\u6210\u7ee9\u7531\u7ea2\u5e3d\u8ba4\u8bc1\u4e2d\u5fc3\u72ec\u5bb6\u516c\u5e03\u3002\u7ea2\u5e3d\u672a\u6388\u6743\u8003\u5b98\u6216\u57f9\u8bad\u5408\u4f5c\u4f19\u4f34\u76f4\u63a5\u5411\u8003\u751f\u516c\u5e03\u8003\u8bd5\u7ed3\u679c\u3002\u8003\u8bd5\u6210\u7ee9\u901a\u5e38\u4f1a\u5728 3 \u4e2a\u7f8e\u56fd\u5de5\u4f5c\u65e5\u5185\u516c\u5e03\u3002<\/p>\n \u516c\u5e03\u7684\u8003\u8bd5\u7ed3\u679c\u4e3a\u603b\u5206\u3002\u7ea2\u5e3d\u4e0d\u516c\u5e03\u5355\u4e2a\u9879\u76ee\u7684\u6210\u7ee9\uff0c\u4e5f\u4e0d\u4f1a\u5e94\u8003\u751f\u8981\u6c42\u63d0\u4f9b\u989d\u5916\u4fe1\u606f\u3002<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":" \u8003\u8bd5\u6982\u8ff0 \u7ea2\u5e3d\u8ba4\u8bc1 Ansible \u81ea\u52a8\u5316\u4e13\u5bb6\u8003\u8bd5\uff08EX407\uff09\u65e8\u5728\u6d4b\u8bd5\u60a8\u8fd0\u7528 Ansible \u5b9e\u73b0\u7cfb\u7edf\u548c\u5e94\u7528 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[582],"tags":[],"class_list":["post-195803","post","type-post","status-publish","format-standard","hentry","category-exam"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/195803","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=195803"}],"version-history":[{"count":1,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/195803\/revisions"}],"predecessor-version":[{"id":195804,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/195803\/revisions\/195804"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=195803"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=195803"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=195803"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\n
\n
\n
\n
\n
\n
\n
\n