<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Failed to create remote module tmp path at dir /tmp/.root.ansible/ with prefix ansible-moduletmp in SAS Viya</title>
    <link>https://communities.sas.com/t5/SAS-Viya/Failed-to-create-remote-module-tmp-path-at-dir-tmp-root-ansible/m-p/643662#M573</link>
    <description>&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/208685"&gt;@jeromesauve&lt;/a&gt; Thanks for the suggestion. Its worth information.&lt;BR /&gt;In my case, I have modified ansible log directory at ansible.cfg and deployment was successful.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Iyappan M S</description>
    <pubDate>Tue, 28 Apr 2020 15:45:14 GMT</pubDate>
    <dc:creator>Iyappan21</dc:creator>
    <dc:date>2020-04-28T15:45:14Z</dc:date>
    <item>
      <title>Failed to create remote module tmp path at dir /tmp/.root.ansible/ with prefix ansible-moduletmp</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Failed-to-create-remote-module-tmp-path-at-dir-tmp-root-ansible/m-p/586239#M403</link>
      <description>&lt;P&gt;Hello All,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;During SAS Viya 3.4 installation on AWS Linux node having that error message at the end&lt;BR /&gt;&lt;BR /&gt;fatal: [deployTarget]: FAILED! =&amp;gt; {"changed": false, "msg": "Failed to create remote module tmp path at dir /tmp/.root.ansible/ with prefix ansible-moduletmp-1567623975.36-: [Errno 13] Permission denied: '/tmp/.root.ansible/ansible-moduletmp-1567623975.36-N_Ec8S'"}&lt;BR /&gt;2019-09-04 19:06:15,380 p=18476 u=root | NO MORE HOSTS LEFT *************************************************************&lt;BR /&gt;2019-09-04 19:06:15,381 p=18476 u=root | PLAY RECAP *********************************************************************&lt;BR /&gt;2019-09-04 19:06:15,381 p=18476 u=root | deployTarget : ok=208 changed=65 unreachable=0 failed=1&lt;BR /&gt;2019-09-04 19:06:15,381 p=18476 u=root | localhost : ok=14 changed=1 unreachable=0 failed=0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advise&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Asif&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2019 19:48:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Failed-to-create-remote-module-tmp-path-at-dir-tmp-root-ansible/m-p/586239#M403</guid>
      <dc:creator>Asif4862</dc:creator>
      <dc:date>2019-09-04T19:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to create remote module tmp path at dir /tmp/.root.ansible/ with prefix ansible-moduletmp</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Failed-to-create-remote-module-tmp-path-at-dir-tmp-root-ansible/m-p/586867#M406</link>
      <description>&lt;P&gt;Ran into this same issue.&amp;nbsp; The work around I figured out was to set the permissions for the /tmp/.root.ansible directory to 777.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;sudo chmod -R 777 /tmp/.root.ansible&lt;/PRE&gt;</description>
      <pubDate>Fri, 06 Sep 2019 20:22:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Failed-to-create-remote-module-tmp-path-at-dir-tmp-root-ansible/m-p/586867#M406</guid>
      <dc:creator>willhaley</dc:creator>
      <dc:date>2019-09-06T20:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to create remote module tmp path at dir /tmp/.root.ansible/ with prefix ansible-moduletmp</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Failed-to-create-remote-module-tmp-path-at-dir-tmp-root-ansible/m-p/587248#M407</link>
      <description>&lt;P&gt;Thanks Willhaley, I'll definitely apply your resolution step and i'll let you know with end results.&lt;BR /&gt;&lt;BR /&gt;Thanks for your help&lt;BR /&gt;&lt;BR /&gt;Appreciated &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2019 14:43:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Failed-to-create-remote-module-tmp-path-at-dir-tmp-root-ansible/m-p/587248#M407</guid>
      <dc:creator>Asif4862</dc:creator>
      <dc:date>2019-09-09T14:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to create remote module tmp path at dir /tmp/.root.ansible/ with prefix ansible-moduletmp</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Failed-to-create-remote-module-tmp-path-at-dir-tmp-root-ansible/m-p/589760#M413</link>
      <description>&lt;P&gt;I tried your solution&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/129570"&gt;@willhaley&lt;/a&gt;&amp;nbsp;but still having same error msg. I don't know what is the issue&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Asif&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 18:21:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Failed-to-create-remote-module-tmp-path-at-dir-tmp-root-ansible/m-p/589760#M413</guid>
      <dc:creator>Asif4862</dc:creator>
      <dc:date>2019-09-18T18:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to create remote module tmp path at dir /tmp/.root.ansible/ with prefix ansible-moduletmp</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Failed-to-create-remote-module-tmp-path-at-dir-tmp-root-ansible/m-p/621642#M510</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope you resolved your issu.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This can happen when you run the ansible-playbook with sudo. You should instead run it as a normal user, but use the switch to give ansible your sudo password.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regard,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jérôme&lt;/P&gt;</description>
      <pubDate>Sat, 01 Feb 2020 15:23:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Failed-to-create-remote-module-tmp-path-at-dir-tmp-root-ansible/m-p/621642#M510</guid>
      <dc:creator>jeromesauve</dc:creator>
      <dc:date>2020-02-01T15:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to create remote module tmp path at dir /tmp/.root.ansible/ with prefix ansible-moduletmp</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Failed-to-create-remote-module-tmp-path-at-dir-tmp-root-ansible/m-p/643479#M569</link>
      <description>&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/208685"&gt;@jeromesauve&lt;/a&gt; I am doing the same and the issue is still there. We are installing with normal user with sudo password still we face the issue. Can you please explain the solution If we miss any.&lt;BR /&gt;Kindly Guide.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Iyappan M S</description>
      <pubDate>Tue, 28 Apr 2020 07:34:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Failed-to-create-remote-module-tmp-path-at-dir-tmp-root-ansible/m-p/643479#M569</guid>
      <dc:creator>Iyappan21</dc:creator>
      <dc:date>2020-04-28T07:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to create remote module tmp path at dir /tmp/.root.ansible/ with prefix ansible-moduletmp</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Failed-to-create-remote-module-tmp-path-at-dir-tmp-root-ansible/m-p/643603#M570</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Another solution for this issue. Set create a directory at /tmp (For Ex. /tmp/ansiblelog and mention it as log directory in Ansible.cfg&amp;nbsp; with proper permission to the installing user id.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 13:40:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Failed-to-create-remote-module-tmp-path-at-dir-tmp-root-ansible/m-p/643603#M570</guid>
      <dc:creator>Iyappan21</dc:creator>
      <dc:date>2020-04-28T13:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to create remote module tmp path at dir /tmp/.root.ansible/ with prefix ansible-moduletmp</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Failed-to-create-remote-module-tmp-path-at-dir-tmp-root-ansible/m-p/643651#M571</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can you copy the command line you use to do the installation?&lt;/P&gt;&lt;P&gt;The explication is that ansible will run certain task as root, and others as the installation user. Therefore, you must provide Ansible with the sudo password with the switch &lt;EM&gt;--ask-become-pass.&amp;nbsp;&lt;/EM&gt;If you typed sudo before the command, Some file/directory that should have been created as the installation user belong to root. Therefore the install user cannot access them later in the process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Correct:&lt;/P&gt;&lt;PRE class="xisDoc-code"&gt;ansible-playbook site.yml --ask-become-pass -vvv&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not correct:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;STRIKE&gt;&amp;nbsp;sudo ansible-playbook site.yml -vvv&lt;/STRIKE&gt;&lt;/PRE&gt;&lt;P&gt;Jérôme&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 15:28:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Failed-to-create-remote-module-tmp-path-at-dir-tmp-root-ansible/m-p/643651#M571</guid>
      <dc:creator>jeromesauve</dc:creator>
      <dc:date>2020-04-28T15:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to create remote module tmp path at dir /tmp/.root.ansible/ with prefix ansible-moduletmp</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Failed-to-create-remote-module-tmp-path-at-dir-tmp-root-ansible/m-p/643659#M572</link>
      <description>&lt;P&gt;I would not suggest modifiying the directories permissions or the Ansible.config directly. While you might get rid of the error message during the installation, you might also end up with a broken installation if files/directories/dependencies are not installed with the proper users/rights. Use with caution.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 15:40:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Failed-to-create-remote-module-tmp-path-at-dir-tmp-root-ansible/m-p/643659#M572</guid>
      <dc:creator>jeromesauve</dc:creator>
      <dc:date>2020-04-28T15:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to create remote module tmp path at dir /tmp/.root.ansible/ with prefix ansible-moduletmp</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Failed-to-create-remote-module-tmp-path-at-dir-tmp-root-ansible/m-p/643662#M573</link>
      <description>&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/208685"&gt;@jeromesauve&lt;/a&gt; Thanks for the suggestion. Its worth information.&lt;BR /&gt;In my case, I have modified ansible log directory at ansible.cfg and deployment was successful.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Iyappan M S</description>
      <pubDate>Tue, 28 Apr 2020 15:45:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Failed-to-create-remote-module-tmp-path-at-dir-tmp-root-ansible/m-p/643662#M573</guid>
      <dc:creator>Iyappan21</dc:creator>
      <dc:date>2020-04-28T15:45:14Z</dc:date>
    </item>
  </channel>
</rss>

