{"id":2343,"date":"2019-03-26T18:10:04","date_gmt":"2019-03-26T09:10:04","guid":{"rendered":"http:\/\/matoken.org\/blog\/?p=2343"},"modified":"2019-03-26T22:57:50","modified_gmt":"2019-03-26T13:57:50","slug":"nsible-tower-setup-memo","status":"publish","type":"post","link":"https:\/\/matoken.org\/blog\/2019\/03\/26\/nsible-tower-setup-memo\/","title":{"rendered":"ansible-tower setup\u30e1\u30e2"},"content":{"rendered":"<p>\u300cAnsible\u3082\u304f\u3082\u304f\u4f1a \uff08\u30b5\u30fc\u30d0\u7de8\uff092019.03 in \u30aa\u30a4\u30b7\u30c3\u30af\u30b9\u30fb\u30e9\u30fb\u5927\u5730\uff01\u300d\u306b\u30ea\u30e2\u30fc\u30c8\u67a0\u304c!\u9e7f\u5150\u5cf6\u304b\u3089\u3067\u3082\u53c2\u52a0\u3067\u304d\u305d\u3046\u3068\u7533\u3057\u8fbc\u307f\u307e\u3057\u305f\uff0e<\/p>\n<ul>\n<li><a href=\"https:\/\/ansible-users.connpass.com\/event\/123557\/\">Ansible\u3082\u304f\u3082\u304f\u4f1a \uff08\u30b5\u30fc\u30d0\u7de8\uff092019.03 in \u30aa\u30a4\u30b7\u30c3\u30af\u30b9\u30fb\u30e9\u30fb\u5927\u5730\uff01 &#8211; connpass<\/a><\/li>\n<\/ul>\n<p>\u53c2\u52a0\u3059\u308b\u306b\u5f53\u305f\u3063\u3066AWS\u306e\u74b0\u5883\u304c\u7528\u610f\u3055\u308c\u308b\u3088\u3046\u3060\u3051\u3069\u624b\u5143\u306e\u56de\u7dda\u306f\u4e0d\u5b89\u5b9a\u3060\u3057\u52c9\u5f37\u4f1a\u5f8c\u306e\u3053\u3068\u3082\u8003\u3048\u308b\u3068\u624b\u5143\u306b\u3082\u74b0\u5883\u3092\u7528\u610f\u3057\u3066\u304a\u3044\u305f\u307b\u3046\u304c\u826f\u3055\u305d\u3046\u3068\u3044\u3046\u3053\u3068\u3067\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u307e\u3057\u305f\uff0e\u305d\u306e\u6642\u3064\u307e\u305a\u3044\u305f\u3068\u304d\u306e\u30e1\u30e2\u3067\u3059\uff0e<\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/h-kojima\/ansible\/tree\/master\/ansible-tower\">ansible\/ansible-tower at master \u00b7 h-kojima\/ansible \u00b7 GitHub<\/a><\/li>\n<\/ul>\n<p>\u203bDebian sid amd64 \u4e0a\u306eKVM \u74b0\u5883\u306b CentOS7 x86_64 \u74b0\u5883\u3092\u7528\u610f\u3057\u3066\u305d\u306e\u4e2d\u3067\u8a2d\u5b9a\u3057\u307e\u3057\u305f\uff0e ansible-tower-setup \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306flatest \u3067 <code>3.4.2-1<\/code> \u3067\u3057\u305f\uff0e<\/p>\n<h2 id=\"setup.sh-\u306e\u5b9f\u884c\u306f-tower-\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4e0b\u3067\">setup.sh \u306e\u5b9f\u884c\u306f tower \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4e0b\u3067<\/h2>\n<p>Step2 \u3067\uff0csetup.sh\u3092\u5b9f\u884c\u3059\u308b\u3068\u30ea\u30dd\u30b8\u30c8\u30ea\u304c\u898b\u3064\u304b\u3089\u305a\u30a8\u30e9\u30fc\u3068\u306a\u308b<\/p>\n<pre><code>$ sudo .\/ansible-tower-setup-$VERSION.el7\/setup.sh<\/code><\/pre>\n<pre><code>https:\/\/releases.ansible.com\/ansible-tower\/rpm\/dependencies\/\/epel-7-x86_64\/repodata\/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found<\/code><\/pre>\n<p>\u4ee5\u4e0b\u306e\u3042\u305f\u308a\u3067\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u53d6\u5f97\u3057\u3066\u3044\u308b<\/p>\n<pre><code>ansible-tower-setup-3.4.2-1\/setup.sh:baseurl=$AW_REPO_URL\/rpm\/dependencies\/$(grep version group_vars\/all | grep -o &#39;:digit:.:digit:&#39;)\/epel-$1-x86_64<\/code><\/pre>\n<p>tower \u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u964d\u308a\u3066\u5b9f\u884c\u3059\u308c\u3070ok<\/p>\n<pre><code>$ cd ansible-tower-setup-3.4.2-1\r\n$ sudo .\/setup<\/code><\/pre>\n<h2 id=\"\u5b9f\u884c\u74b0\u5883\u306eram-\u306f4gb-\u4ee5\u4e0a\u306b\">\u5b9f\u884c\u74b0\u5883\u306eRAM \u306f4GB \u4ee5\u4e0a\u306b<\/h2>\n<p>RAM 512MB\u3067 <code>setup.sh<\/code> \u3092\u5b9f\u884c\u3059\u308b\u3068\u30a8\u30e9\u30fc\uff0eRAM\u304c\u8db3\u308a\u306a\u3044\u3089\u3057\u3044\uff0e<\/p>\n<pre><code>TASK [preflight : Preflight check - Fail if this machine lacks sufficient RAM.] ***********************************************************************************************************************\r\nfatal: [localhost]: FAILED! =&gt; {&quot;changed&quot;: false, &quot;msg&quot;: &quot;This machine does not have sufficient RAM to run Ansible Tower.&quot;}\r\n        to retry, use: --limit @\/home\/matoken\/ansible-tower-setup-3.4.2-1\/install.retry<\/code><\/pre>\n<p>\u30b7\u30b9\u30c6\u30e0\u8981\u4ef6\u3092\u78ba\u8a8d\u3059\u308b\u30684GB \u306eRAM \u304c\u5fc5\u8981\u3089\u3057\u3044<\/p>\n<blockquote>\n<p>4 GB RAM minimum for Tower installations<\/p>\n<\/blockquote>\n<ul>\n<li><a href=\"https:\/\/docs.ansible.com\/ansible-tower\/latest\/html\/installandreference\/requirements_refguide.html\">4. Requirements \u2014 Ansible Tower Installation and Reference Guide v3.4.2<\/a><\/li>\n<\/ul>\n<p>\u306a\u305d<br \/>\n\u306b\u3093<br \/>\n\uff1a<\/p>\n<h2 id=\"\u6642\u9593\u304c\u306a\u3044\u3068\u304d\u306f-limited-features-up-to-10-nodes-\u30e9\u30a4\u30bb\u30f3\u30b9\u3092\u9078\u629e\">\u6642\u9593\u304c\u306a\u3044\u3068\u304d\u306f <code>LIMITED FEATURES UP TO 10 NODES<\/code> \u30e9\u30a4\u30bb\u30f3\u30b9\u3092\u9078\u629e<\/h2>\n<p><b>ADD) \u3082\u304f\u3082\u304f\u4f1a\u3067\u306f\u3053\u308c\u3068\u306f\u5225\u306eURL\u304b\u3089 Red Hat Ansible Tower, Standard (10 Managed Nodes) Trial \u3092\u5165\u624b\u3057\u3066\u5229\u7528\u3057\u305f\uff0e\u4ee5\u4e0b\u306e LIMITED FEATURES UP TO 10 NODES \u3067\u306f\u6700\u5f8c\u306e\u3042\u305f\u308a\u3067\u8a70\u307e\u308b\uff0e(Exercise 3 \u306e Step 4 \u3067\u300cADD SURVEY\u300d\u30dc\u30bf\u30f3\u304c\u51fa\u3066\u3053\u306a\u3044)<\/b><\/p>\n<p>ENTERPRISE FEATURES \u306e\u5834\u5408\u4eba\u529b\u307f\u305f\u3044<\/p>\n<pre><code>An Ansible representative will be reaching out to you within one business day with your Ansible Tower enterprise features trial license key.<\/code><\/pre>\n<p>LIMITED FEATURES UP TO 10 NODES \u3060\u3068\u3059\u3050\u306b\u30e1\u30fc\u30eb\u3067\u5c4a\u3044\u305f<\/p>\n<pre><code>You should receive an email shortly with your Ansible Tower Basic Edition trial license key.<\/code><\/pre>\n<h2 id=\"\u8a66\u3057\u305f\u74b0\u5883\">\u8a66\u3057\u305f\u74b0\u5883<\/h2>\n<pre><code>$ cat \/etc\/centos-release\r\nCentOS Linux release 7.6.1810 (Core)\r\n$ uname -m\r\nx86_64<\/code><\/pre>\n<p><iframe style=\"width:120px;height:240px;\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\" src=\"\/\/rcm-fe.amazon-adsystem.com\/e\/cm?lt1=_blank&#038;bc1=000000&#038;IS2=1&#038;bg1=FFFFFF&#038;fc1=000000&#038;lc1=0000FF&#038;t=matokensmeme-22&#038;language=ja_JP&#038;o=9&#038;p=8&#038;l=as4&#038;m=amazon&#038;f=ifr&#038;ref=as_ss_li_til&#038;asins=B07B2T24V4&#038;linkId=8a0a4dadd83f429f1c9a3fd425ca4649\"><\/iframe><iframe style=\"width:120px;height:240px;\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\" src=\"\/\/rcm-fe.amazon-adsystem.com\/e\/cm?lt1=_blank&#038;bc1=000000&#038;IS2=1&#038;bg1=FFFFFF&#038;fc1=000000&#038;lc1=0000FF&#038;t=matokensmeme-22&#038;language=ja_JP&#038;o=9&#038;p=8&#038;l=as4&#038;m=amazon&#038;f=ifr&#038;ref=as_ss_li_til&#038;asins=B07D2YCMJ5&#038;linkId=2f573101e25a9ffc997926d8ce7a2786\"><\/iframe><iframe style=\"width:120px;height:240px;\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\" src=\"\/\/rcm-fe.amazon-adsystem.com\/e\/cm?lt1=_blank&#038;bc1=000000&#038;IS2=1&#038;bg1=FFFFFF&#038;fc1=000000&#038;lc1=0000FF&#038;t=matokensmeme-22&#038;language=ja_JP&#038;o=9&#038;p=8&#038;l=as4&#038;m=amazon&#038;f=ifr&#038;ref=as_ss_li_til&#038;asins=4873117658&#038;linkId=c8052e41d1c3280964b31873645c11a5\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u300cAnsible\u3082\u304f\u3082\u304f\u4f1a \uff08\u30b5\u30fc\u30d0\u7de8\uff092019.03 in \u30aa\u30a4\u30b7\u30c3\u30af\u30b9\u30fb\u30e9\u30fb\u5927\u5730\uff01\u300d\u306b\u30ea\u30e2\u30fc\u30c8\u67a0\u304c!\u9e7f\u5150\u5cf6\u304b\u3089\u3067\u3082\u53c2\u52a0\u3067\u304d\u305d\u3046\u3068\u7533\u3057\u8fbc\u307f\u307e\u3057\u305f\uff0e Ansible\u3082\u304f\u3082\u304f\u4f1a \uff08\u30b5\u30fc\u30d0\u7de8\uff092019.03 in \u30aa\u30a4\u30b7\u30c3\u30af [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"webmentions_disabled_pings":false,"webmentions_disabled":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[6],"tags":[458],"class_list":["post-2343","post","type-post","status-publish","format-standard","hentry","category-linux","tag-ansible"],"_links":{"self":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts\/2343","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/comments?post=2343"}],"version-history":[{"count":0,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts\/2343\/revisions"}],"wp:attachment":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/media?parent=2343"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/categories?post=2343"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/tags?post=2343"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}