{"id":6501,"date":"2022-12-10T10:18:16","date_gmt":"2022-12-10T01:18:16","guid":{"rendered":"https:\/\/lab4ict.com\/system\/?p=6501"},"modified":"2022-12-17T11:35:46","modified_gmt":"2022-12-17T02:35:46","slug":"ansible%e3%82%92rocky-linux-9%e3%81%ae%e4%b8%80%e8%88%ac%e3%83%a6%e3%83%bc%e3%82%b6%e3%81%ab%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%ef%bc%81","status":"publish","type":"post","link":"https:\/\/lab4ict.com\/system\/archives\/6501","title":{"rendered":"Ansible\u3092Rocky Linux 9\u306e\u4e00\u822c\u30e6\u30fc\u30b6\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff01"},"content":{"rendered":"<p>Ansible\u3092Rocky Linux 9\u306e\u4e00\u822c\u30e6\u30fc\u30b6\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u3067\u74b0\u5883\u306e\u5206\u96e2\u3092\u5bb9\u6613\u306b\u3057\u307e\u3059\u3002<\/p>\n<h2>\u30b7\u30b9\u30c6\u30e0\u3092\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3059\u308b\uff01<\/h2>\n<p>\u30b7\u30b9\u30c6\u30e0\u3092\u6700\u65b0\u5316\u3057\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001\u30b7\u30b9\u30c6\u30e0\u3092\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n$ sudo dnf update -y\r\n<\/pre>\n<h2>Python3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff01<\/h2>\n<p>Python3\u306f\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u306e\u306f\u305a\u3067\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n$ sudo dnf install python3 -y\r\nLast metadata expiration check: 2:33:10 ago on Thu 03 Nov 2022 08:10:11 AM JST.\r\nPackage python3-3.9.10-2.el9.x86_64 is already installed.\r\nDependencies resolved.\r\nNothing to do.\r\nComplete!\r\n<\/pre>\n<h2>Ansible\u7528\u306bPython\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3059\u308b\uff01<\/h2>\n<p>Ansible\u7528\u306bPython\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n$ python3 -m venv ansible\r\n$ source ~\/ansible\/bin\/activate\r\n<\/pre>\n<h2>Ansible\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff01<\/h2>\n<p>Ansible\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n(ansible) $ pip install ansible\r\n<\/pre>\n<h2>Ansible\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\uff01<\/h2>\n<p>Ansible\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n(ansible) $ ansible --version\r\nansible &#x5B;core 2.13.5]\r\n  config file = None\r\n  configured module search path = &#x5B;'\/usradmin\/.ansible\/plugins\/modules', '\/usr\/share\/ansible\/plugins\/modules']\r\n  ansible python module location = \/usradmin\/ansible\/lib64\/python3.9\/site-packages\/ansible\r\n  ansible collection location = \/usradmin\/.ansible\/collections:\/usr\/share\/ansible\/collections\r\n  executable location = \/usradmin\/ansible\/bin\/ansible\r\n  python version = 3.9.10 (main, Feb  9 2022, 00:00:00) &#x5B;GCC 11.2.1 20220127 (Red Hat 11.2.1-9)]\r\n  jinja version = 3.1.2\r\n  libyaml = True\r\n<\/pre>\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<p>Ansible\u3092\u3001\u4e00\u822c\u30e6\u30fc\u30b6\u306ePython\u306e\u4eee\u60f3\u74b0\u5883\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u305f\u3002<\/p>\n<h2>\u53c2\u8003\u60c5\u5831<\/h2>\n<ul>\n<li><a href=\"https:\/\/docs.ansible.com\/ansible\/latest\/index.html\" target=\"_blank\" rel=\"noopener\">Ansible Documentation<\/a><\/li>\n<\/ul>\n<h2>\u95a2\u9023\u8a18\u4e8b<\/h2>\n<div class=\"sc_getpost\"><a class=\"clearfix\" href=\"https:\/\/lab4ict.com\/system\/archives\/6710\" ><div class=\"sc_getpost_thumb post-box-thumbnail__wrap\"><img decoding=\"async\" src=\"data:image\/gif;base64,R0lGODdhAQABAPAAAN3d3QAAACwAAAAAAQABAAACAkQBADs=\" width=\"150\" height=\"150\" alt=\"\u3010\u8a18\u4e8b\u4e00\u89a7\u3011Ansible\u3067\u69cb\u6210\u7ba1\u7406\u3092\u884c\u3046\uff01\" loading=\"lazy\" data-src=\"https:\/\/lab4ict.com\/system\/wp-content\/uploads\/2022\/12\/eyecatch_ansible_01-150x150.png\" class=\"lazyload\"><\/div><div class=\"title\">\u3010\u8a18\u4e8b\u4e00\u89a7\u3011Ansible\u3067\u69cb\u6210\u7ba1\u7406\u3092\u884c\u3046\uff01<\/div><div class=\"substr\">Ansible\u3067\u30b7\u30b9\u30c6\u30e0\u306e\u69cb\u6210\u7ba1\u7406\u3092\u884c\u3046\u305f\u3081\u306e\u8a18\u4e8b\u4e00\u89a7\u3092\u63b2\u8f09\u3057\u307e\u3059\u3002...<\/div><\/a><\/div>\n<h2>Ansible\u66f8\u7c4d\uff08Amazon\uff09<\/h2>\n<h3>Ansible\u5b9f\u8df5\u30ac\u30a4\u30c9 \u7b2c3\u7248 impress top gear\u30b7\u30ea\u30fc\u30ba<\/h3>\n<p><iframe style=\"width: 120px; height: 240px;\" sandbox=\"allow-popups allow-scripts allow-modals allow-forms allow-same-origin\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\" src=\"\/\/rcm-fe.amazon-adsystem.com\/e\/cm?lt1=_blank&amp;bc1=000000&amp;IS2=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=infotecr-22&amp;language=ja_JP&amp;o=9&amp;p=8&amp;l=as4&amp;m=amazon&amp;f=ifr&amp;ref=as_ss_li_til&amp;asins=B07YXYM94G&amp;linkId=c592827d0a9befa45003dc1710db5e20\"><\/iframe><\/p>\n<h3>Ansible\u30af\u30c3\u30af\u30d6\u30c3\u30af impress top gear\u30b7\u30ea\u30fc\u30ba<\/h3>\n<p><iframe style=\"width: 120px; height: 240px;\" sandbox=\"allow-popups allow-scripts allow-modals allow-forms allow-same-origin\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\" src=\"\/\/rcm-fe.amazon-adsystem.com\/e\/cm?lt1=_blank&amp;bc1=000000&amp;IS2=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=infotecr-22&amp;language=ja_JP&amp;o=9&amp;p=8&amp;l=as4&amp;m=amazon&amp;f=ifr&amp;ref=as_ss_li_til&amp;asins=B09V4HW2LW&amp;linkId=57f8d97a138faaedd2db76907303fa17\"><\/iframe><\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ansible\u3092Rocky Linux 9\u306e\u4e00\u822c\u30e6\u30fc\u30b6\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u3067\u74b0\u5883\u306e\u5206\u96e2\u3092\u5bb9\u6613\u306b\u3057\u307e\u3059\u3002 \u30b7\u30b9\u30c6\u30e0\u3092\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3059\u308b\uff01 \u30b7\u30b9\u30c6\u30e0\u3092\u6700\u65b0\u5316\u3057\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001\u30b7\u30b9\u30c6\u30e0\u3092\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u307e\u2026<\/p>\n","protected":false},"author":1,"featured_media":6881,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[157],"tags":[],"class_list":["post-6501","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ansible"],"_links":{"self":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/6501","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/comments?post=6501"}],"version-history":[{"count":0,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/6501\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media\/6881"}],"wp:attachment":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media?parent=6501"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/categories?post=6501"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/tags?post=6501"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}