{"id":1045,"date":"2020-12-13T19:46:31","date_gmt":"2020-12-14T00:46:31","guid":{"rendered":"https:\/\/increasec.com\/?p=1045"},"modified":"2020-12-13T20:06:34","modified_gmt":"2020-12-14T01:06:34","slug":"ansible-awx","status":"publish","type":"post","link":"https:\/\/increasec.com\/?p=1045","title":{"rendered":"Ansible AWX"},"content":{"rendered":"\n<p>What is Ansible and why do i care?<br>Ansible is a popular server\/workstation\/container management tool.<br>+doesn&#8217;t require a client install<br>+instead of a list of commands it focuses on a desired state<br>+scripts are written in .yml <br>+can manage Windows, MacOs, Linux, *BSD etc<\/p>\n\n\n\n<p>What is Ansible Tower\/AWX?<br>Tower is a web based GUI for Ansible built by RedHat.  AWX is the bleading edge, free version of Tower.<\/p>\n\n\n\n<p>How to install AWX on Docker \/ Portainer?<br>sudo apt-get install ansible -y<br>sudo apt-get install python3 -y<br>sudo apt-get install pip -y<br>sudo pip install &#8211;upgrade pip<br>sudo pip install docker-compose<br>sudo pip install docker-py<br>sudo pip install configparser<\/p>\n\n\n\n<p>git clone https:\/\/github.com\/ansible\/awx.git<br>cd awx\/installer<br>nano inventory<br>**<strong>change 3 passwords and record them in your password manager<\/strong><br>sudo ansible-playbook -i inventory install.yml<\/p>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>if you get errors about unable to load docker-compose<br>pip uninstall docker docker-py docker-compose<br>pip install docker-compose<\/strong><\/h5>\n\n\n\n<p><a href=\"https:\/\/localhost:8052\/\">https:\/\/localhost:8052\/<\/a><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><a href=\"http:\/\/elatov.github.io\/2018\/12\/setting-up-and-using-awx-with-docker-compose\/\">http:\/\/elatov.github.io\/2018\/12\/setting-up-and-using-awx-with-docker-compose\/<\/a><\/p>\n\n\n\n<p><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is Ansible and why do i care?Ansible is a popular server\/workstation\/container management tool.+doesn&#8217;t require a client install+instead of a list of commands it focuses on a desired state+scripts are&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[148,3],"class_list":["post-1045","post","type-post","status-publish","format-standard","hentry","category-uncategorised","tag-ansible","tag-smb"],"_links":{"self":[{"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/posts\/1045","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/increasec.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1045"}],"version-history":[{"count":2,"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/posts\/1045\/revisions"}],"predecessor-version":[{"id":1047,"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/posts\/1045\/revisions\/1047"}],"wp:attachment":[{"href":"https:\/\/increasec.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1045"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/increasec.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1045"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/increasec.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1045"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}