<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>install dockers Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/install-dockers/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Wed, 04 Dec 2019 13:12:11 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How To Install Ansible AWX on Ubuntu 19.04 Linux</title>
		<link>https://www.osradar.com/how-to-install-ansible-awx-on-ubuntu-19-04-linux/</link>
					<comments>https://www.osradar.com/how-to-install-ansible-awx-on-ubuntu-19-04-linux/#respond</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Wed, 04 Dec 2019 13:12:09 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[Install ansible awx on ubuntu 19.04]]></category>
		<category><![CDATA[install awx]]></category>
		<category><![CDATA[install dockers]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=16121</guid>

					<description><![CDATA[<p>In this tutorial, we are going to Install Ansible AWX on Ubuntu 19.04 with Nginx Reverse Proxy and optional Let&#8217;s Encrypt SSL Certificates. What is Ansible AWX? It is an open source distribution help us in various way like providing a web-based user interface, REST API, and task engine for smooth &#38; collaborative management of [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-ansible-awx-on-ubuntu-19-04-linux/">How To Install Ansible AWX on Ubuntu 19.04 Linux</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>In this tutorial, we are going to Install Ansible AWX on Ubuntu 19.04 with Nginx Reverse Proxy and optional Let&#8217;s Encrypt SSL Certificates. </p>



<h3><strong>What is Ansible AWX?</strong></h3>



<p>It is an open source distribution help us in various way like providing a web-based user interface, REST API, and task engine for smooth &amp; collaborative management of Ansible Playbooks &amp; Inventories.<br> AWX allows you to perform all these jobs from a web interface. At the end of this tutorial, you&#8217;ll be able to Install Ansible AWX on Ubuntu 19.04 easily.</p>



<h3><strong>Pre-Requisite for your System</strong></h3>



<ul><li>Ubuntu 19.04 LTS Server.</li><li> <strong>4GB</strong> RAM (Minimum)</li><li><strong> 2vcpus</strong> (More is better)</li><li> 10 GB free disk storage</li><li> Root privileges</li></ul>



<p>Now, we move further toward Installation process.</p>



<h3><strong>Step 1: Update the Ubuntu System</strong></h3>



<p>Run the given command to update &amp; upgrade system.</p>



<pre class="wp-block-verse">sudo apt update &amp;&amp; sudo apt -y upgrade<br>sudo reboot</pre>



<h3><strong>Step 2: Install Ansible on Ubuntu</strong></h3>



<p>Type the following command to Install the latest release of Ansible AWX on Ubuntu 19.04.</p>



<pre class="wp-block-verse">echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu bionic main" |  sudo tee /etc/apt/sources.list.d/ansible.list <br>sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367<br>sudo apt update<br>sudo apt install -y ansible</pre>



<p>Check the Installed Version </p>



<pre class="wp-block-verse">ansible --version</pre>



<h3><strong>Step 3: Install Docker &amp; Docker Compose for Ansible AWX</strong></h3>



<p>It is necessary to have Installed Docker &amp; Docker Compose as Ansible relay on Docker Engine to start its services.</p>



<p><a href="https://www.osradar.com/?p=16122">How To Install Docker on Ubuntu 19.04</a></p>



<p><a href="https://www.osradar.com/?p=16124">How To Install Latest Docker Compose on Linux</a></p>



<p>Note: You should be able to print Docker version after Installation.</p>



<pre class="wp-block-verse">docker version</pre>



<h3><strong>Step 4: Install Node &amp; NPM</strong></h3>



<p>Run the below command to Install Node &amp; NPM on your Ubuntu System.</p>



<pre class="wp-block-verse">sudo apt isntall -y nodejs npm<br>sudo npm install npm --global</pre>



<h3><strong>Step 5: Install Ansible AWX on Ubuntu 19.04</strong></h3>



<p>Type the following command to Install docker-py python module.</p>



<pre class="wp-block-verse">sudo apt -y install python-pip git pwgen vim<br>sudo pip install requests==2.14.2</pre>



<p>Now, Install Docker Compose module. ( It should be same version as Docker Compose)</p>



<pre class="wp-block-verse">$ docker-compose version<br> docker-compose version 1.24.1, build 4667896<br> docker-py version: 3.7.3<br> CPython version: 3.6.8<br> OpenSSL version: OpenSSL 1.1.0j  20 Nov 2018<br> $ sudo pip install docker-compose==1.24.1</pre>



<p>Run the given command to Clone AWX source code.</p>



<pre class="wp-block-verse">sudo su -<br>git clone --depth 50 https://github.com/ansible/awx.git</pre>



<p>Change to Installer directory.</p>



<pre class="wp-block-verse">cd awx/installer</pre>



<p>Open the inventory file &amp; customize it according to your own requirements.</p>



<pre class="wp-block-verse">$ nano inventory</pre>



<p>Generate AWX secret key.</p>



<pre class="wp-block-verse">pwgen -N 1 -s 30<br>2fCkx2K5GnIjBz4OterhOC3ey0WPdj</pre>



<p>Set up inventory settings.</p>



<pre class="wp-block-verse">dockerhub_base=ansible<br> awx_task_hostname=awx<br> awx_web_hostname=awxweb<br> postgres_data_dir=/tmp/pgdocker<br> host_port=80<br> host_port_ssl=443<br> docker_compose_dir=/tmp/awxcompose<br> pg_username=awx<br> pg_password=awxpass<br> pg_database=awx<br> pg_port=5432<br> rabbitmq_password=awxpass<br> rabbitmq_erlang_cookie=cookiemonster<br> admin_user=admin<br> admin_password=StrongAdminpassword<br> create_preload_data=True<br> secret_key=2fCkx2K5GnIjBz4OterhOC3ey0WPdj</pre>



<p>Run the playbook</p>



<p>You must run ansible-playbook command followed by option -i which shows the system that it is inventory file. install.yml is the playbook file name.</p>



<p>See the output, Check out if you got any error message.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="697" height="437" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/output-playbook.jpg" alt="" class="wp-image-16126" srcset="https://www.osradar.com/wp-content/uploads/2019/11/output-playbook.jpg 697w, https://www.osradar.com/wp-content/uploads/2019/11/output-playbook-300x188.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/output-playbook-670x420.jpg 670w" sizes="(max-width: 697px) 100vw, 697px" /></figure></div>



<p>Type and execute docker ps command to get list of currently running containers.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="697" height="140" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/docker.jpg" alt="" class="wp-image-16127" srcset="https://www.osradar.com/wp-content/uploads/2019/11/docker.jpg 697w, https://www.osradar.com/wp-content/uploads/2019/11/docker-300x60.jpg 300w" sizes="(max-width: 697px) 100vw, 697px" /></figure></div>



<p>You can access web portal via <strong>hostip_or_hostname:8000</strong> or port <strong>80</strong> if you did not change it. You will see a welcome Wizard.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="694" height="308" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/awx-dashboard.jpg" alt="" class="wp-image-16128" srcset="https://www.osradar.com/wp-content/uploads/2019/11/awx-dashboard.jpg 694w, https://www.osradar.com/wp-content/uploads/2019/11/awx-dashboard-300x133.jpg 300w" sizes="(max-width: 694px) 100vw, 694px" /></figure></div>



<p>Provide authentication details as you&#8217;ve setup in inventory file. It will take you to the admin dashboard.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="713" height="206" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/awx-admin-panel.jpg" alt="" class="wp-image-16129" srcset="https://www.osradar.com/wp-content/uploads/2019/11/awx-admin-panel.jpg 713w, https://www.osradar.com/wp-content/uploads/2019/11/awx-admin-panel-300x87.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/awx-admin-panel-696x201.jpg 696w" sizes="(max-width: 713px) 100vw, 713px" /></figure></div>



<p>Congratulations! You&#8217;ve finished Installing Ansible Awx on Ubuntu Linux.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-ansible-awx-on-ubuntu-19-04-linux/">How To Install Ansible AWX on Ubuntu 19.04 Linux</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-ansible-awx-on-ubuntu-19-04-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
