<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:series="https://publishpress.com/"
	
	>
<channel>
	<title>
	Comments on: Install Ansible AWX on CentOS 7	</title>
	<atom:link href="https://devopslite.com/install-ansible-awx-on-centos-7/feed/" rel="self" type="application/rss+xml" />
	<link>https://devopslite.com/install-ansible-awx-on-centos-7/</link>
	<description>DevOps Howtos, Tutorials &#38; Guides</description>
	<lastBuildDate>Thu, 09 Jan 2025 16:18:32 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: sudheer		</title>
		<link>https://devopslite.com/install-ansible-awx-on-centos-7/#comment-52</link>

		<dc:creator><![CDATA[sudheer]]></dc:creator>
		<pubDate>Mon, 27 Apr 2020 14:15:21 +0000</pubDate>
		<guid isPermaLink="false">https://devopslite.com/?p=187#comment-52</guid>

					<description><![CDATA[Hi mate,

Thanks for making life easier. you may need to update few things. this is totally my suggestion based upon recent experience.
I am installing AWX on Centos7.7
1. include the step to configure python interpreter version based upon requirement i.e. 2.7 or 3.6
2. update the inventory file accordingly with correct python interpreter.
3. recently docker-compose is required which installs docker and other . so, if  we install  as per the step it gives error &quot;Cannot have both the docker-py and docker python modules installed together as they use the same namespace and cause a corrupt installation&quot; error installing AWX
Even though my example involves AWX,.
Solution: 
pip uninstall docker docker-py docker-compose &#038;&#038; pip install docker-compose]]></description>
			<content:encoded><![CDATA[<p>Hi mate,</p>
<p>Thanks for making life easier. you may need to update few things. this is totally my suggestion based upon recent experience.<br />
I am installing AWX on Centos7.7<br />
1. include the step to configure python interpreter version based upon requirement i.e. 2.7 or 3.6<br />
2. update the inventory file accordingly with correct python interpreter.<br />
3. recently docker-compose is required which installs docker and other . so, if  we install  as per the step it gives error &#8220;Cannot have both the docker-py and docker python modules installed together as they use the same namespace and cause a corrupt installation&#8221; error installing AWX<br />
Even though my example involves AWX,.<br />
Solution:<br />
pip uninstall docker docker-py docker-compose &amp;&amp; pip install docker-compose</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: rednthor		</title>
		<link>https://devopslite.com/install-ansible-awx-on-centos-7/#comment-51</link>

		<dc:creator><![CDATA[rednthor]]></dc:creator>
		<pubDate>Sun, 26 Apr 2020 13:07:48 +0000</pubDate>
		<guid isPermaLink="false">https://devopslite.com/?p=187#comment-51</guid>

					<description><![CDATA[hi can you help me i have this error 
It says destination  directory /home/bounty/.awx/awxcompose   does not exist]]></description>
			<content:encoded><![CDATA[<p>hi can you help me i have this error<br />
It says destination  directory /home/bounty/.awx/awxcompose   does not exist</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ziad Saleemi		</title>
		<link>https://devopslite.com/install-ansible-awx-on-centos-7/#comment-50</link>

		<dc:creator><![CDATA[Ziad Saleemi]]></dc:creator>
		<pubDate>Tue, 03 Mar 2020 08:30:47 +0000</pubDate>
		<guid isPermaLink="false">https://devopslite.com/?p=187#comment-50</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://devopslite.com/install-ansible-awx-on-centos-7/#comment-42&quot;&gt;A Whitaker&lt;/a&gt;.

Install python3 and python3-pip
run pip3 install docker-compose 
after that change &quot;/usr/bin/env python&quot; to &quot;/usr/bin/env python3&quot; then run the playbook again]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://devopslite.com/install-ansible-awx-on-centos-7/#comment-42">A Whitaker</a>.</p>
<p>Install python3 and python3-pip<br />
run pip3 install docker-compose<br />
after that change &#8220;/usr/bin/env python&#8221; to &#8220;/usr/bin/env python3&#8221; then run the playbook again</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Dalibor Hinic		</title>
		<link>https://devopslite.com/install-ansible-awx-on-centos-7/#comment-49</link>

		<dc:creator><![CDATA[Dalibor Hinic]]></dc:creator>
		<pubDate>Wed, 12 Feb 2020 15:31:42 +0000</pubDate>
		<guid isPermaLink="false">https://devopslite.com/?p=187#comment-49</guid>

					<description><![CDATA[Hi guys,

This is the error i get when i try to install awx..any ideas?
TASK [local_docker : Start the containers] **********************************************************************************************************************************************
fatal: [localhost]: FAILED! =&#062; {&quot;changed&quot;: false, &quot;msg&quot;: &quot;Unable to load docker-compose. Try `pip install docker-compose`. Error: Traceback (most recent call last):\n  File \&quot;/tmp/ansible_docker_compose_payload_sQH9KA/ansible_docker_compose_payload.zip/ansible/modules/cloud/docker/docker_compose.py\&quot;, line 482, in \nImportError: No module named compose\n&quot;}

PLAY RECAP ******************************************************************************************************************************************************************************
localhost                  : ok=11   changed=0    unreachable=0    failed=1    skipped=95   rescued=0    ignored=0]]></description>
			<content:encoded><![CDATA[<p>Hi guys,</p>
<p>This is the error i get when i try to install awx..any ideas?<br />
TASK [local_docker : Start the containers] **********************************************************************************************************************************************<br />
fatal: [localhost]: FAILED! =&gt; {&#8220;changed&#8221;: false, &#8220;msg&#8221;: &#8220;Unable to load docker-compose. Try `pip install docker-compose`. Error: Traceback (most recent call last):\n  File \&#8221;/tmp/ansible_docker_compose_payload_sQH9KA/ansible_docker_compose_payload.zip/ansible/modules/cloud/docker/docker_compose.py\&#8221;, line 482, in \nImportError: No module named compose\n&#8221;}</p>
<p>PLAY RECAP ******************************************************************************************************************************************************************************<br />
localhost                  : ok=11   changed=0    unreachable=0    failed=1    skipped=95   rescued=0    ignored=0</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Nicolas Bussieres		</title>
		<link>https://devopslite.com/install-ansible-awx-on-centos-7/#comment-48</link>

		<dc:creator><![CDATA[Nicolas Bussieres]]></dc:creator>
		<pubDate>Mon, 27 Jan 2020 19:03:46 +0000</pubDate>
		<guid isPermaLink="false">https://devopslite.com/?p=187#comment-48</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://devopslite.com/install-ansible-awx-on-centos-7/#comment-47&quot;&gt;vowner&lt;/a&gt;.

pip uninstall docker docker-py docker-compose

pip install docker-compose]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://devopslite.com/install-ansible-awx-on-centos-7/#comment-47">vowner</a>.</p>
<p>pip uninstall docker docker-py docker-compose</p>
<p>pip install docker-compose</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: vowner		</title>
		<link>https://devopslite.com/install-ansible-awx-on-centos-7/#comment-47</link>

		<dc:creator><![CDATA[vowner]]></dc:creator>
		<pubDate>Sat, 11 Jan 2020 05:38:23 +0000</pubDate>
		<guid isPermaLink="false">https://devopslite.com/?p=187#comment-47</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://devopslite.com/install-ansible-awx-on-centos-7/#comment-45&quot;&gt;vravind&lt;/a&gt;.

please uninstall and reinstall   docker using pip and also uninstall docker-py and install docker compose]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://devopslite.com/install-ansible-awx-on-centos-7/#comment-45">vravind</a>.</p>
<p>please uninstall and reinstall   docker using pip and also uninstall docker-py and install docker compose</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: vowner		</title>
		<link>https://devopslite.com/install-ansible-awx-on-centos-7/#comment-46</link>

		<dc:creator><![CDATA[vowner]]></dc:creator>
		<pubDate>Wed, 08 Jan 2020 16:08:52 +0000</pubDate>
		<guid isPermaLink="false">https://devopslite.com/?p=187#comment-46</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://devopslite.com/install-ansible-awx-on-centos-7/#comment-45&quot;&gt;vravind&lt;/a&gt;.

Any resolution? getting the same error]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://devopslite.com/install-ansible-awx-on-centos-7/#comment-45">vravind</a>.</p>
<p>Any resolution? getting the same error</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: vravind		</title>
		<link>https://devopslite.com/install-ansible-awx-on-centos-7/#comment-45</link>

		<dc:creator><![CDATA[vravind]]></dc:creator>
		<pubDate>Mon, 06 Jan 2020 11:13:58 +0000</pubDate>
		<guid isPermaLink="false">https://devopslite.com/?p=187#comment-45</guid>

					<description><![CDATA[An exception occurred during task execution. To see the full traceback, use -vvv. The error was: SyntaxError: invalid syntax
fatal: [localhost]: FAILED! =&#062; {&quot;changed&quot;: false, &quot;module_stderr&quot;: &quot;Traceback (most recent call last):\n  File \&quot;/root/.ansible/tmp/ansible-tmp-1578309070.85-243878990646741/AnsiballZ_docker_compose.py\&quot;, line 102, in \n    _ansiballz_main()\n  File \&quot;/root/.ansible/tmp/ansible-tmp-1578309070.85-243878990646741/AnsiballZ_docker_compose.py\&quot;, line 94, in _ansiballz_main\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n  File \&quot;/root/.ansible/tmp/ansible-tmp-1578309070.85-243878990646741/AnsiballZ_docker_compose.py\&quot;, line 40, in invoke_module\n    runpy.run_module(mod_name=&#039;ansible.modules.cloud.docker.docker_compose&#039;, init_globals=None, run_name=&#039;__main__&#039;, alter_sys=True)\n  File \&quot;/usr/lib64/python2.7/runpy.py\&quot;, line 176, in run_module\n    fname, loader, pkg_name)\n  File \&quot;/usr/lib64/python2.7/runpy.py\&quot;, line 82, in _run_module_code\n    mod_name, mod_fname, mod_loader, pkg_name)\n  File \&quot;/usr/lib64/python2.7/runpy.py\&quot;, line 72, in _run_code\n    exec code in run_globals\n  File \&quot;/tmp/ansible_docker_compose_payload_MImJMr/ansible_docker_compose_payload.zip/ansible/modules/cloud/docker/docker_compose.py\&quot;, line 483, in \n  File \&quot;/usr/lib/python2.7/site-packages/compose/cli/command.py\&quot;, line 12, in \n    from .. import config\n  File \&quot;/usr/lib/python2.7/site-packages/compose/config/__init__.py\&quot;, line 6, in \n    from .config import ConfigurationError\n  File \&quot;/usr/lib/python2.7/site-packages/compose/config/config.py\&quot;, line 50, in \n    from .validation import match_named_volumes\n  File \&quot;/usr/lib/python2.7/site-packages/compose/config/validation.py\&quot;, line 12, in \n    from jsonschema import Draft4Validator\n  File \&quot;/usr/lib/python2.7/site-packages/jsonschema/__init__.py\&quot;, line 33, in \n    import importlib_metadata as metadata\n  File \&quot;/usr/lib/python2.7/site-packages/importlib_metadata/__init__.py\&quot;, line 9, in \n    import zipp\n  File \&quot;/usr/lib/python2.7/site-packages/zipp.py\&quot;, line 12, in \n    import more_itertools\n  File \&quot;/usr/lib/python2.7/site-packages/more_itertools/__init__.py\&quot;, line 1, in \n    from .more import *  # noqa\n  File \&quot;/usr/lib/python2.7/site-packages/more_itertools/more.py\&quot;, line 460\n    yield from iterable\n             ^\nSyntaxError: invalid syntax\n&quot;, &quot;module_stdout&quot;: &quot;&quot;, &quot;msg&quot;: &quot;MODULE FAILURE\nSee stdout/stderr for the exact error&quot;, &quot;rc&quot;: 1}



please inform how to fix this error]]></description>
			<content:encoded><![CDATA[<p>An exception occurred during task execution. To see the full traceback, use -vvv. The error was: SyntaxError: invalid syntax<br />
fatal: [localhost]: FAILED! =&gt; {&#8220;changed&#8221;: false, &#8220;module_stderr&#8221;: &#8220;Traceback (most recent call last):\n  File \&#8221;/root/.ansible/tmp/ansible-tmp-1578309070.85-243878990646741/AnsiballZ_docker_compose.py\&#8221;, line 102, in \n    _ansiballz_main()\n  File \&#8221;/root/.ansible/tmp/ansible-tmp-1578309070.85-243878990646741/AnsiballZ_docker_compose.py\&#8221;, line 94, in _ansiballz_main\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n  File \&#8221;/root/.ansible/tmp/ansible-tmp-1578309070.85-243878990646741/AnsiballZ_docker_compose.py\&#8221;, line 40, in invoke_module\n    runpy.run_module(mod_name=&#8217;ansible.modules.cloud.docker.docker_compose&#8217;, init_globals=None, run_name=&#8217;__main__&#8217;, alter_sys=True)\n  File \&#8221;/usr/lib64/python2.7/runpy.py\&#8221;, line 176, in run_module\n    fname, loader, pkg_name)\n  File \&#8221;/usr/lib64/python2.7/runpy.py\&#8221;, line 82, in _run_module_code\n    mod_name, mod_fname, mod_loader, pkg_name)\n  File \&#8221;/usr/lib64/python2.7/runpy.py\&#8221;, line 72, in _run_code\n    exec code in run_globals\n  File \&#8221;/tmp/ansible_docker_compose_payload_MImJMr/ansible_docker_compose_payload.zip/ansible/modules/cloud/docker/docker_compose.py\&#8221;, line 483, in \n  File \&#8221;/usr/lib/python2.7/site-packages/compose/cli/command.py\&#8221;, line 12, in \n    from .. import config\n  File \&#8221;/usr/lib/python2.7/site-packages/compose/config/__init__.py\&#8221;, line 6, in \n    from .config import ConfigurationError\n  File \&#8221;/usr/lib/python2.7/site-packages/compose/config/config.py\&#8221;, line 50, in \n    from .validation import match_named_volumes\n  File \&#8221;/usr/lib/python2.7/site-packages/compose/config/validation.py\&#8221;, line 12, in \n    from jsonschema import Draft4Validator\n  File \&#8221;/usr/lib/python2.7/site-packages/jsonschema/__init__.py\&#8221;, line 33, in \n    import importlib_metadata as metadata\n  File \&#8221;/usr/lib/python2.7/site-packages/importlib_metadata/__init__.py\&#8221;, line 9, in \n    import zipp\n  File \&#8221;/usr/lib/python2.7/site-packages/zipp.py\&#8221;, line 12, in \n    import more_itertools\n  File \&#8221;/usr/lib/python2.7/site-packages/more_itertools/__init__.py\&#8221;, line 1, in \n    from .more import *  # noqa\n  File \&#8221;/usr/lib/python2.7/site-packages/more_itertools/more.py\&#8221;, line 460\n    yield from iterable\n             ^\nSyntaxError: invalid syntax\n&#8221;, &#8220;module_stdout&#8221;: &#8220;&#8221;, &#8220;msg&#8221;: &#8220;MODULE FAILURE\nSee stdout/stderr for the exact error&#8221;, &#8220;rc&#8221;: 1}</p>
<p>please inform how to fix this error</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Daniel Pham		</title>
		<link>https://devopslite.com/install-ansible-awx-on-centos-7/#comment-44</link>

		<dc:creator><![CDATA[Daniel Pham]]></dc:creator>
		<pubDate>Tue, 05 Nov 2019 15:13:23 +0000</pubDate>
		<guid isPermaLink="false">https://devopslite.com/?p=187#comment-44</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://devopslite.com/install-ansible-awx-on-centos-7/#comment-43&quot;&gt;Vijesh&lt;/a&gt;.

Thanks!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://devopslite.com/install-ansible-awx-on-centos-7/#comment-43">Vijesh</a>.</p>
<p>Thanks!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Vijesh		</title>
		<link>https://devopslite.com/install-ansible-awx-on-centos-7/#comment-43</link>

		<dc:creator><![CDATA[Vijesh]]></dc:creator>
		<pubDate>Wed, 23 Oct 2019 01:59:35 +0000</pubDate>
		<guid isPermaLink="false">https://devopslite.com/?p=187#comment-43</guid>

					<description><![CDATA[Great article!]]></description>
			<content:encoded><![CDATA[<p>Great article!</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
