{"id":441,"date":"2025-07-16T23:32:00","date_gmt":"2025-07-16T14:32:00","guid":{"rendered":"https:\/\/ccna-curriculum.tech-village.co.jp\/?p=441"},"modified":"2025-10-23T13:30:54","modified_gmt":"2025-10-23T04:30:54","slug":"%e8%87%aa%e5%8b%95%e5%8c%96%e3%81%a8%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%9e%e3%83%93%e3%83%aa%e3%83%86%e3%82%a3","status":"publish","type":"post","link":"https:\/\/ccna-curriculum.tech-village.co.jp\/?p=441","title":{"rendered":"\u81ea\u52d5\u5316\u3068\u30d7\u30ed\u30b0\u30e9\u30de\u30d3\u30ea\u30c6\u30a3"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">REST API\u3068\u306f<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><span class=\"swl-marker mark_yellow\">REST API\uff08Representational State Transfer API\uff09<\/span><\/strong> \u3068\u306f\u3001Web\u30b7\u30b9\u30c6\u30e0\u3092\u5916\u90e8\u304b\u3089\u64cd\u4f5c\u3059\u308b\u305f\u3081\u306b\u4f7f\u308f\u308c\u308bAPI\u306e\u4e00\u7a2e\u3067\u3001REST\u306e\u8a2d\u8a08\u539f\u5247\u306b\u57fa\u3065\u3044\u3066\u3044\u307e\u3059\u3002<br>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3068\u30b5\u30fc\u30d0\u306fHTTP\u3092\u5229\u7528\u3057\u3066\u3084\u308a\u53d6\u308a\u3092\u884c\u3044\u3001\u4ee3\u8868\u7684\u306a\u64cd\u4f5c\u306f <strong><span class=\"swl-marker mark_yellow\">GET\u3001POST\u3001PUT\u3001DELETE<\/span><\/strong> \u306a\u3069\u306eHTTP\u30e1\u30bd\u30c3\u30c9\u3067\u8868\u73fe\u3055\u308c\u307e\u3059\u3002<br><strong><span class=\"swl-marker mark_yellow\">API\uff08Application Programming Interface\uff09<\/span><\/strong>\u3068\u3044\u3046\u8a00\u8449\u306e\u901a\u308a\u3001REST API\u306f\u300c\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u540c\u58eb\u304c\u5171\u901a\u306e\u30eb\u30fc\u30eb\u306b\u5f93\u3063\u3066\u3084\u308a\u53d6\u308a\u3092\u3059\u308b\u305f\u3081\u306e\u4ed5\u7d44\u307f\u300d\u3068\u7406\u89e3\u3059\u308b\u3068\u5206\u304b\u308a\u3084\u3059\u3044\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">REST\u306e4\u3064\u306e\u8a2d\u8a08\u539f\u5247<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">REST\u306b\u306f\u8907\u6570\u306e\u8a2d\u8a08\u539f\u5247\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u4ee3\u8868\u7684\u306a4\u3064\u3092\u62bc\u3055\u3048\u3066\u304a\u304f\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002\u8a66\u9a13\u3067\u3082\u3053\u306e\u5206\u985e\u306f\u983b\u51fa\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1. \u30b9\u30c6\u30fc\u30c8\u30ec\u30b9\u306a\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\/\u30b5\u30fc\u30d0\u30e2\u30c7\u30eb<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">HTTP\u901a\u4fe1\u3067\u306f\u3001\u5404\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u5fc5\u8981\u306a\u60c5\u5831\u3092\u3059\u3079\u3066\u542b\u3093\u3067\u3044\u308b\u305f\u3081\u3001\u30b5\u30fc\u30d0\u5074\u306f\u904e\u53bb\u306e\u901a\u4fe1\u72b6\u614b\u3092\u4fdd\u6301\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u305b\u3093\u3002\u3053\u308c\u3092 <strong><span class=\"swl-marker mark_yellow\">\u30b9\u30c6\u30fc\u30c8\u30ec\u30b9<\/span><\/strong> \u3068\u547c\u3073\u307e\u3059\u3002<br>\u305f\u3060\u3057\u3001\u5b9f\u969b\u306b\u306fCookie\u306a\u3069\u3092\u7528\u3044\u3066\u30bb\u30c3\u30b7\u30e7\u30f3\u60c5\u5831\u3092\u4fdd\u6301\u3059\u308b\u3053\u3068\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2. \u30ea\u30bd\u30fc\u30b9\u306f\u4e00\u610f\u306eURI\u3067\u8b58\u5225<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">REST\u3067\u306f\u6271\u3046\u30c7\u30fc\u30bf\uff08\u30ea\u30bd\u30fc\u30b9\uff09\u304c <strong><span class=\"swl-marker mark_yellow\">URI\uff08Uniform Resource Identifier\uff09<\/span><\/strong> \u306b\u3088\u3063\u3066\u4e00\u610f\u306b\u8b58\u5225\u3055\u308c\u307e\u3059\u3002<br>\u4f8b\u3048\u3070\u3001\u30e6\u30fc\u30b6\u30fc\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308b\u306a\u3089 <code>\/users\/123<\/code> \u306e\u3088\u3046\u306b\u8868\u73fe\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">3. HTTP\u30e1\u30bd\u30c3\u30c9\u306b\u3088\u308b\u7d71\u4e00\u7684\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u30ea\u30bd\u30fc\u30b9\u3078\u306e\u64cd\u4f5c\u65b9\u6cd5\u306fHTTP\u30e1\u30bd\u30c3\u30c9\u306b\u7d71\u4e00\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u3069\u306eAPI\u3067\u3082\u4e00\u8cab\u3057\u305f\u64cd\u4f5c\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4ee3\u8868\u7684\u306a\u64cd\u4f5c\u306f <strong><span class=\"swl-marker mark_yellow\">CRUD\uff08Create, Read, Update, Delete\uff09<\/span><\/strong> \u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>CRUD\u64cd\u4f5c<\/th><th>HTTP\u30e1\u30bd\u30c3\u30c9<\/th><th>\u8aac\u660e<\/th><\/tr><\/thead><tbody><tr><td>Create<\/td><td>POST \/ PUT<\/td><td>\u65b0\u3057\u3044\u30ea\u30bd\u30fc\u30b9\u3092\u4f5c\u6210<\/td><\/tr><tr><td>Read<\/td><td>GET<\/td><td>\u30ea\u30bd\u30fc\u30b9\u306e\u53d6\u5f97<\/td><\/tr><tr><td>Update<\/td><td>PUT \/ PATCH<\/td><td>\u30ea\u30bd\u30fc\u30b9\u306e\u66f4\u65b0<\/td><\/tr><tr><td>Delete<\/td><td>DELETE<\/td><td>\u30ea\u30bd\u30fc\u30b9\u306e\u524a\u9664<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">4. \u30cf\u30a4\u30d1\u30fc\u30e1\u30c7\u30a3\u30a2\u306e\u6d3b\u7528<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u30ea\u30bd\u30fc\u30b9\u306fHTML\u3084\u30c6\u30ad\u30b9\u30c8\u3060\u3051\u3067\u306a\u304f\u3001<span class=\"swl-marker mark_yellow\"><strong>JSON\u3001XML\u3001YAML<\/strong> <\/span>\u306a\u3069\u306e\u5f62\u5f0f\u3067\u8868\u73fe\u3067\u304d\u307e\u3059\u3002<br>\u307e\u305f\u3001\u95a2\u9023\u30c7\u30fc\u30bf\u3092\u30ea\u30f3\u30af\u3068\u3057\u3066\u542b\u3081\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306f\u30ec\u30b9\u30dd\u30f3\u30b9\u3092\u53d7\u3051\u53d6\u308a\u306a\u304c\u3089\u4ed6\u306e\u30ea\u30bd\u30fc\u30b9\u3078\u9077\u79fb\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">REST API\u306b\u304a\u3051\u308b\u30c7\u30fc\u30bf\u5f62\u5f0f<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">REST API\u3067\u306f\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3068\u30b5\u30fc\u30d0\u9593\u306e\u901a\u4fe1\u306b\u3055\u307e\u3056\u307e\u306a\u30c7\u30fc\u30bf\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u304c\u4f7f\u308f\u308c\u307e\u3059\u3002\u7279\u306b\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u6a5f\u5668\u3067\u306f <strong>JSON<\/strong> \u3068 <strong>XML<\/strong> \u304c\u3088\u304f\u5229\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>JSON\uff08JavaScript Object Notation\uff09<\/strong><br>\u8efd\u91cf\u3067\u4eba\u9593\u306b\u3082\u8aad\u307f\u3084\u3059\u3044\u30c6\u30ad\u30b9\u30c8\u30d9\u30fc\u30b9\u306e\u30c7\u30fc\u30bf\u5f62\u5f0f\u3002XML\u3088\u308a\u3082\u8a18\u8ff0\u304c\u7c21\u6f54\u3002\u62e1\u5f35\u5b50\u306f <code>.json<\/code>\u3002<br>Cisco\u88fd\u54c1\u306eSDN\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u3067\u3082\u3088\u304f\u4f7f\u308f\u308c\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>XML\uff08Extensible Markup Language\uff09<\/strong><br>\u30bf\u30b0\u3092\u7528\u3044\u3066\u30c7\u30fc\u30bf\u306e\u610f\u5473\u3084\u69cb\u9020\u3092\u660e\u78ba\u306b\u8868\u73fe\u3067\u304d\u308b\u30de\u30fc\u30af\u30a2\u30c3\u30d7\u8a00\u8a9e\u3002\u81ea\u7531\u5ea6\u304c\u9ad8\u304f\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3084\u60c5\u5831\u4ea4\u63db\u306b\u5e83\u304f\u4f7f\u308f\u308c\u308b\u3002\u62e1\u5f35\u5b50\u306f <code>.xml<\/code>\u3002<\/li>\n\n\n\n<li><strong>YAML\uff08YAML Ain\u2019t Markup Language\uff09<\/strong><br>\u30a4\u30f3\u30c7\u30f3\u30c8\u3067\u968e\u5c64\u3092\u8868\u73fe\u3059\u308b\u30c7\u30fc\u30bf\u5f62\u5f0f\u3002\u30b7\u30f3\u30d7\u30eb\u304b\u3064\u4eba\u9593\u306b\u8aad\u307f\u3084\u3059\u304f\u3001\u69cb\u6210\u7ba1\u7406\u30c4\u30fc\u30eb\uff08\u4f8b\uff1aAnsible\uff09\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3067\u3088\u304f\u4f7f\u308f\u308c\u308b\u3002\u62e1\u5f35\u5b50\u306f <code>.yaml<\/code> \u307e\u305f\u306f <code>.yml<\/code>\u3002<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">REST API\u3068\u30b9\u30c6\u30fc\u30bf\u30b9\u30b3\u30fc\u30c9<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">REST API\u3067\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u9001\u4fe1\u3059\u308b\u3068\u3001\u30b5\u30fc\u30d0\u306f\u51e6\u7406\u7d50\u679c\u3092 <strong><span class=\"swl-marker mark_yellow\">HTTP\u30b9\u30c6\u30fc\u30bf\u30b9\u30b3\u30fc\u30c9<\/span><\/strong> \u3067\u8fd4\u3057\u307e\u3059\u3002<br>\u4f8b\u3048\u3070\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>200 OK<\/code>\uff08\u6210\u529f\uff09<\/li>\n\n\n\n<li><code>201 Created<\/code>\uff08\u30ea\u30bd\u30fc\u30b9\u4f5c\u6210\u6210\u529f\uff09<\/li>\n\n\n\n<li><code>400 Bad Request<\/code>\uff08\u4e0d\u6b63\u306a\u30ea\u30af\u30a8\u30b9\u30c8\uff09<\/li>\n\n\n\n<li><code>404 Not Found<\/code>\uff08\u30ea\u30bd\u30fc\u30b9\u304c\u5b58\u5728\u3057\u306a\u3044\uff09<\/li>\n\n\n\n<li><code>500 Internal Server Error<\/code>\uff08\u30b5\u30fc\u30d0\u30a8\u30e9\u30fc\uff09<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Cisco\u88fd\u54c1\u306eSDN\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u3067\u3082\u3001\u30ec\u30b9\u30dd\u30f3\u30b9\u306f\u4e3b\u306b <strong>JSON\u307e\u305f\u306fXML<\/strong> \u306e\u5f62\u5f0f\u3067\u8fd4\u3055\u308c\u3001\u30b9\u30c6\u30fc\u30bf\u30b9\u30b3\u30fc\u30c9\u3068\u3068\u3082\u306b\u7d50\u679c\u304c\u901a\u77e5\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"is-style-icon_pen wp-block-paragraph\">\u30fbREST API\u306f <strong>HTTP\u30d9\u30fc\u30b9\u306eWeb API<\/strong> \u3067\u3042\u308b<br>\u30fb<strong>\u30b9\u30c6\u30fc\u30c8\u30ec\u30b9 \/ URI\u306b\u3088\u308b\u8b58\u5225 \/ HTTP\u30e1\u30bd\u30c3\u30c9 \/ \u30c7\u30fc\u30bf\u5f62\u5f0f\uff08JSON, XML, YAML\uff09<\/strong> \u304c\u30ad\u30fc\u30ef\u30fc\u30c9<br>\u30fbCRUD\u3068HTTP\u30e1\u30bd\u30c3\u30c9\u306e\u5bfe\u5fdc\u95a2\u4fc2\u3092\u899a\u3048\u3066\u304a\u304f<br>\u30fbCisco\u88fd\u54c1\u3067\u306f <strong>JSON\u307e\u305f\u306fXML\u30ec\u30b9\u30dd\u30f3\u30b9<\/strong> \u304c\u57fa\u672c<br><br>\u7279\u306bCCNA\u8a66\u9a13\u3067\u306f\u300cREST API\u306e\u8a2d\u8a08\u539f\u5247\u300d\u300cCRUD\u64cd\u4f5c\u300d\u300cJSON\/XML\u306e\u7279\u5fb4\u300d\u304c\u51fa\u3084\u3059\u3044\u305f\u3081\u3001\u3053\u3053\u3092\u62bc\u3055\u3048\u3066\u304a\u304f\u3053\u3068\u304c\u5408\u683c\u306e\u8fd1\u9053\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u69cb\u6210\u7ba1\u7406\u30c4\u30fc\u30eb\u3068\u306f<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><span class=\"swl-marker mark_yellow\">\u69cb\u6210\u7ba1\u7406\u30c4\u30fc\u30eb<\/span><\/strong> \u3068\u306f\u3001\u8907\u6570\u306e\u30b5\u30fc\u30d0\u3084\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u6a5f\u5668\u306b\u5bfe\u3057\u3066\u3001\u3042\u3089\u304b\u3058\u3081\u7528\u610f\u3057\u305f\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u57fa\u3065\u304d\u3001\u81ea\u52d5\u3067\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3084\u8a2d\u5b9a\u5909\u66f4\u3092\u884c\u3046\u305f\u3081\u306e\u30c4\u30fc\u30eb\u3067\u3059\u3002\u5927\u898f\u6a21\u306a\u74b0\u5883\u3067\u306f\u3001\u4eba\u624b\u3067\u4e00\u53f0\u305a\u3064\u8a2d\u5b9a\u3059\u308b\u3068\u6642\u9593\u3084\u5de5\u6570\u304c\u304b\u304b\u308a\u3001\u8a2d\u5b9a\u30df\u30b9\u3082\u767a\u751f\u3057\u3084\u3059\u3044\u305f\u3081\u3001\u69cb\u6210\u7ba1\u7406\u30c4\u30fc\u30eb\u3092\u4f7f\u3046\u3053\u3068\u3067\u7d71\u4e00\u7684\u3067\u52b9\u7387\u7684\u306a\u904b\u7528\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4ee3\u8868\u7684\u306a\u88fd\u54c1\u306b\u306f <span class=\"swl-marker mark_yellow\"><strong>Ansible\uff08RedHat\u793e\uff09<\/strong>\u3001<strong>Puppet\uff08Puppet Labs\u793e\uff09<\/strong>\u3001<strong>Chef\uff08Chef Software\u793e\uff09<\/strong><\/span> \u306a\u3069\u304c\u3042\u308a\u307e\u3059\u3002\u7279\u306bAnsible\u306f\u30b7\u30f3\u30d7\u30eb\u3067\u5c0e\u5165\u3057\u3084\u3059\u304f\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u81ea\u52d5\u5316\u306b\u3082\u5e83\u304f\u5229\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002Cisco\u3084Juniper\u3001F5\u3001Arista\u3068\u3044\u3063\u305f\u4e3b\u8981\u306a\u30d9\u30f3\u30c0\u30fc\u306e\u6a5f\u5668\u306b\u3082\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u69cb\u6210\u7ba1\u7406\u30c4\u30fc\u30eb\u5c0e\u5165\u306e\u30e1\u30ea\u30c3\u30c8<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u69cb\u6210\u7ba1\u7406\u30c4\u30fc\u30eb\u3092\u4f7f\u308f\u306a\u3044\u5834\u5408\u3001\u7ba1\u7406\u8005\u306f\u5404\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u6a5f\u5668\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u3001\u8a2d\u5b9a\u3092\u4e00\u53f0\u305a\u3064\u66f4\u65b0\u3057\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002\u4e00\u65b9\u3067\u3001\u69cb\u6210\u7ba1\u7406\u30c4\u30fc\u30eb\u3092\u4f7f\u3048\u3070\u7ba1\u7406\u30b5\u30fc\u30d0\u304b\u3089\u4e00\u62ec\u3067\u8a2d\u5b9a\u3092\u53cd\u6620\u3067\u304d\u308b\u305f\u3081\u3001\u52b9\u7387\u304c\u98db\u8e8d\u7684\u306b\u5411\u4e0a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u307e\u305f\u3001\u69cb\u6210\u7ba1\u7406\u30c4\u30fc\u30eb\u3092\u5c0e\u5165\u3059\u308b\u3053\u3068\u3067 <strong><span class=\"swl-marker mark_yellow\">\u69cb\u6210\u30c9\u30ea\u30d5\u30c8<\/span><\/strong> \u3092\u9632\u6b62\u3067\u304d\u307e\u3059\u3002\u69cb\u6210\u30c9\u30ea\u30d5\u30c8\u3068\u306f\u3001\u4f5c\u696d\u624b\u9806\u306e\u4e0d\u5099\u3084\u4eba\u70ba\u7684\u30df\u30b9\u306b\u3088\u308a\u3001\u672c\u6765\u306e\u8a2d\u5b9a\u304b\u3089\u305a\u308c\u3066\u3057\u307e\u3046\u73fe\u8c61\u3067\u3059\u3002\u30c4\u30fc\u30eb\u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u3067\u81ea\u52d5\u7684\u306b\u6b63\u3057\u3044\u69cb\u6210\u304c\u7dad\u6301\u3055\u308c\u3001\u5b89\u5b9a\u3057\u305f\u904b\u7528\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Ansible\u3068\u306f<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><span class=\"swl-marker mark_yellow\">Ansible\uff08\u30a2\u30f3\u30b7\u30d6\u30eb\uff09<\/span><\/strong> \u306fRedHat\u793e\u304c\u958b\u767a\u3057\u305f\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u69cb\u6210\u7ba1\u7406\u30c4\u30fc\u30eb\u3067\u3001\u6b21\u306e3\u3064\u306e\u6a5f\u80fd\u3092\u4f75\u305b\u6301\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u69cb\u6210\u7ba1\u7406<\/strong>\uff1a\u8a2d\u5b9a\u3084\u74b0\u5883\u306e\u81ea\u52d5\u9069\u7528<\/li>\n\n\n\n<li><strong>\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8<\/strong>\uff1a\u30a2\u30d7\u30ea\u3084\u30d5\u30a1\u30a4\u30eb\u306e\u914d\u5e03\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/li>\n\n\n\n<li><strong>\u30aa\u30fc\u30b1\u30b9\u30c8\u30ec\u30fc\u30b7\u30e7\u30f3<\/strong>\uff1a\u30b7\u30b9\u30c6\u30e0\u5168\u4f53\u3084\u8907\u6570\u30b5\u30fc\u30d3\u30b9\u3092\u9023\u643a\u3057\u3066\u81ea\u52d5\u5316<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Ansible\u306f\u7279\u306b\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u6a5f\u5668\u3084\u30af\u30e9\u30a6\u30c9\u3068\u306e\u89aa\u548c\u6027\u304c\u9ad8\u304f\u3001\u30de\u30eb\u30c1\u30d9\u30f3\u30c0\u30fc\u74b0\u5883\u3067\u3082\u4f7f\u3044\u3084\u3059\u3044\u306e\u304c\u7279\u5fb4\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Ansible\u306e3\u3064\u306e\u7279\u9577<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u30ec\u30b9<\/strong><br>\u7ba1\u7406\u5bfe\u8c61\u6a5f\u5668\u306b\u5c02\u7528\u30bd\u30d5\u30c8\u3092\u5165\u308c\u308b\u5fc5\u8981\u304c\u306a\u304f\u3001SSH\u3084NETCONF\u3092\u5229\u7528\u3057\u3066\u76f4\u63a5\u5236\u5fa1\u3067\u304d\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>\u8c4a\u5bcc\u306a\u30e2\u30b8\u30e5\u30fc\u30eb<\/strong><br>\u30b5\u30fc\u30d0\u3084\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u6a5f\u5668\u3054\u3068\u306b\u591a\u69d8\u306a\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u63d0\u4f9b\u3055\u308c\u3066\u304a\u308a\u3001\u30b5\u30fc\u30d3\u30b9\u306e\u8d77\u52d5\u30fb\u505c\u6b62\u3001\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u8a2d\u5b9a\u3001\u30af\u30e9\u30a6\u30c9\u5236\u5fa1\u306a\u3069\u5e45\u5e83\u3044\u81ea\u52d5\u5316\u304c\u53ef\u80fd\u3067\u3059\u3002<\/li>\n\n\n\n<li><strong>\u7c21\u5358\u306a\u8a18\u8ff0\u65b9\u5f0f<\/strong><br>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306fYAML\u5f62\u5f0f\u3067\u8a18\u8ff0\u3059\u308b\u305f\u3081\u3001\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u77e5\u8b58\u304c\u306a\u304f\u3066\u3082\u64cd\u4f5c\u3067\u304d\u307e\u3059\u3002\u4ed6\u306e\u69cb\u6210\u7ba1\u7406\u30c4\u30fc\u30eb\u306b\u6bd4\u3079\u3001\u521d\u5fc3\u8005\u3067\u3082\u6271\u3044\u3084\u3059\u3044\u306e\u304c\u5f37\u307f\u3067\u3059\u3002<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Ansible\u306e\u4ed5\u7d44\u307f<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Ansible\u306f <strong>Playbook<\/strong> \u3068 <strong>Inventory<\/strong> \u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u3092\u57fa\u76e4\u306b\u52d5\u4f5c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u30d5\u30a1\u30a4\u30eb<\/th><th>\u5f79\u5272<\/th><\/tr><\/thead><tbody><tr><td><strong>Playbook<\/strong><\/td><td>\u7ba1\u7406\u5bfe\u8c61\u6a5f\u5668\u306b\u5b9f\u884c\u3055\u305b\u308b\u30bf\u30b9\u30af\uff08\u8a2d\u5b9a\u5185\u5bb9\uff09\u3092\u8a18\u8ff0\u3057\u305f\u30d5\u30a1\u30a4\u30eb<\/td><\/tr><tr><td><strong>Inventory<\/strong><\/td><td>\u7ba1\u7406\u5bfe\u8c61\u6a5f\u5668\u306e\u4e00\u89a7\u3084\u5f79\u5272\u3092\u8a18\u8ff0\u3057\u305f\u30d5\u30a1\u30a4\u30eb<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Ansible\u30b5\u30fc\u30d0\u306fPlaybook\u3092\u3082\u3068\u306bPython\u30b3\u30fc\u30c9\u3092\u751f\u6210\u3057\u3001\u305d\u308c\u3092\u5bfe\u8c61\u6a5f\u5668\u306b\u8ee2\u9001\u3057\u3066 <strong>SSH\u3084NETCONF<\/strong> \u3092\u7d4c\u7531\u3057\u3066\u5b9f\u884c\u3057\u307e\u3059\u3002\u3053\u306e\u4ed5\u7d44\u307f\u306b\u3088\u308a\u3001\u7ba1\u7406\u5bfe\u8c61\u6a5f\u5668\u3092\u52b9\u7387\u7684\u306b\u5236\u5fa1\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Ansible\u30fbPuppet\u30fbChef\u306e\u6bd4\u8f03<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u69cb\u6210\u7ba1\u7406\u30c4\u30fc\u30eb\u306e\u4ee3\u88683\u88fd\u54c1\u3092\u6bd4\u8f03\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u6bd4\u8f03\u9805\u76ee<\/th><th>Ansible<\/th><th>Puppet<\/th><th>Chef<\/th><\/tr><\/thead><tbody><tr><td>\u958b\u767a\u7d44\u7e54<\/td><td>RedHat<\/td><td>Puppet Labs<\/td><td>Chef Software<\/td><\/tr><tr><td>\u4f7f\u7528\u8a00\u8a9e<\/td><td>Python<\/td><td>Ruby<\/td><td>Ruby<\/td><\/tr><tr><td>\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3<\/td><td>\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u30ec\u30b9<\/td><td>\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8<\/td><td>\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8<\/td><\/tr><tr><td>\u7ba1\u7406\u65b9\u5f0f<\/td><td><strong>Push\u578b<\/strong>\uff08\u30b5\u30fc\u30d0\u304b\u3089\u914d\u5e03\uff09<\/td><td><strong>Pull\u578b<\/strong>\uff08\u5bfe\u8c61\u6a5f\u5668\u304c\u53d6\u5f97\uff09<\/td><td><strong>Pull\u578b<\/strong><\/td><\/tr><tr><td>\u5236\u5fa1\u30d5\u30a1\u30a4\u30eb<\/td><td>Playbook<\/td><td>Manifest<\/td><td>Recipe<\/td><\/tr><tr><td>\u8a18\u8ff0\u8a00\u8a9e<\/td><td>YAML<\/td><td>\u72ec\u81eaDSL<\/td><td>Ruby<\/td><\/tr><tr><td>\u4f7f\u7528\u30d7\u30ed\u30c8\u30b3\u30eb<\/td><td>SSH\/NETCONF<\/td><td>HTTP\/HTTPS<\/td><td>HTTP\/HTTPS<\/td><\/tr><tr><td>\u30b5\u30fc\u30d0\u5f85\u53d7\u30dd\u30fc\u30c8<\/td><td>\u4e0d\u8981<\/td><td>TCP 8140<\/td><td>TCP 10002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"is-style-icon_pen wp-block-paragraph\">\u8a66\u9a13\u5bfe\u7b56\u3068\u3057\u3066\u899a\u3048\u3066\u304a\u304f\u3079\u304d\u306f\u3001<strong>Ansible\u306fPush\u578b\u30fb\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u30ec\u30b9\u30fbYAML\u8a18\u8ff0<\/strong>\u3001Puppet\/Chef\u306fPull\u578b\u30fb\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u5fc5\u8981\u30fbRuby\u7cfb\u8a00\u8a9e\u3001\u3068\u3044\u3046\u9055\u3044\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"is-style-icon_pen wp-block-paragraph\">\u30fb<strong>\u69cb\u6210\u7ba1\u7406\u30c4\u30fc\u30eb\uff1d\u8a2d\u5b9a\u306e\u4e00\u5143\u7ba1\u7406\u3068\u81ea\u52d5\u5316<\/strong><br>\u30fb<strong>\u69cb\u6210\u30c9\u30ea\u30d5\u30c8\u9632\u6b62<\/strong> \u304c\u5c0e\u5165\u306e\u5927\u304d\u306a\u30e1\u30ea\u30c3\u30c8<br>\u30fb<strong>Ansible\uff1dPush\u578b\u3001\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u30ec\u30b9\u3001YAML\u8a18\u8ff0<\/strong> \u304c\u6700\u5927\u306e\u7279\u5fb4<br>\u30fb<strong>Puppet\/Chef\uff1dPull\u578b\u3001\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u5fc5\u8981\u3001Ruby\u30d9\u30fc\u30b9<\/strong><br><br>CCNA\u8a66\u9a13\u3067\u306f\u300cAnsible\u306e\u7279\u9577\u300d\u300c\u4ed6\u30c4\u30fc\u30eb\u3068\u306e\u9055\u3044\u300d\u304c\u554f\u308f\u308c\u3084\u3059\u3044\u305f\u3081\u3001\u8868\u3067\u6bd4\u8f03\u3057\u3066\u899a\u3048\u308b\u3068\u7406\u89e3\u304c\u5b9a\u7740\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u25c6\u307e\u3068\u3081\u30b9\u30e9\u30a4\u30c9<\/h2>\n\n\n\n<div data-wp-interactive=\"core\/file\" class=\"wp-block-file\"><object data-wp-bind--hidden=\"!state.hasPdfPreview\" hidden class=\"wp-block-file__embed\" data=\"https:\/\/ccna-curriculum.tech-village.co.jp\/wp-content\/uploads\/2025\/07\/\u81ea\u52d5\u5316\u3068\u30d7\u30ed\u30b0\u30e9\u30de\u30d3\u30ea\u30c6\u30a3.pdf\" type=\"application\/pdf\" style=\"width:100%;height:600px\" aria-label=\"\u81ea\u52d5\u5316\u3068\u30d5\u309a\u30ed\u30af\u3099\u30e9\u30de\u30d2\u3099\u30ea\u30c6\u30a3\u306e\u57cb\u3081\u8fbc\u307f\u3002\"><\/object><a id=\"wp-block-file--media-92bf4c4b-685b-4ef7-8801-d206e6fc4731\" href=\"https:\/\/ccna-curriculum.tech-village.co.jp\/wp-content\/uploads\/2025\/07\/\u81ea\u52d5\u5316\u3068\u30d7\u30ed\u30b0\u30e9\u30de\u30d3\u30ea\u30c6\u30a3.pdf\">\u81ea\u52d5\u5316\u3068\u30d5\u309a\u30ed\u30af\u3099\u30e9\u30de\u30d2\u3099\u30ea\u30c6\u30a3<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>REST API\u3068\u306f REST API\uff08Representational State Transfer API\uff09 \u3068\u306f\u3001Web\u30b7\u30b9\u30c6\u30e0\u3092\u5916\u90e8\u304b\u3089\u64cd\u4f5c\u3059\u308b\u305f\u3081\u306b\u4f7f\u308f\u308c\u308bAPI\u306e\u4e00\u7a2e\u3067\u3001REST\u306e\u8a2d\u8a08\u539f\u5247\u306b\u57fa\u3065\u3044\u3066\u3044\u307e\u3059\u3002\u30af [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[16],"tags":[],"class_list":["post-441","post","type-post","status-publish","format-standard","hentry","category-automation"],"_links":{"self":[{"href":"https:\/\/ccna-curriculum.tech-village.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/441","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ccna-curriculum.tech-village.co.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ccna-curriculum.tech-village.co.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ccna-curriculum.tech-village.co.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ccna-curriculum.tech-village.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=441"}],"version-history":[{"count":3,"href":"https:\/\/ccna-curriculum.tech-village.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/441\/revisions"}],"predecessor-version":[{"id":867,"href":"https:\/\/ccna-curriculum.tech-village.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/441\/revisions\/867"}],"wp:attachment":[{"href":"https:\/\/ccna-curriculum.tech-village.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=441"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ccna-curriculum.tech-village.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=441"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ccna-curriculum.tech-village.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=441"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}