On host1 (where it works) drwxr-xr-x 2 remoteuser users 4096 Sep 12 13:21 ansible-tmp-1410553290.83-203438518100770
tmp/ansible-tmp-1410553290.83-203438518100770: total 164 -rw------- 1 remoteuser users 163033 Sep 12 13:21 setup On host2 (where it doesn't work) drwxr-xr-x 2 remoteuser users 4096 Sep 12 11:26 ansible-tmp-1410546380.19-138456709998536 # ll tmp/ansible-tmp-1410546380.19-138456709998536 total 0 Like I saw before, the perms are the same. I initially thought it could be a misconfigured sftp configuration line in the sshd_config. But the two configs are identical. Hmm... I did check sudo config in the UI, but I haven't tried visudo yet. Maybe that'll show something... On Friday, September 12, 2014 1:06:24 PM UTC-7, Michael DeHaan wrote: > > What about permissions on the ansible-tmp directory mentioned above? > > You may need to set ANSIBLE_KEEP_REMOTE_FILES=1 in your environment to > keep it around. > > > > On Fri, Sep 12, 2014 at 3:58 PM, David Reagan <[email protected] > <javascript:>> wrote: > >> /tmp on host1 >> > drwxrwxrwt 45 root root 4096 Sep 12 11:26 tmp >> >> /tmp on host2 >> > drwxrwxrwt 47 root root 12288 Sep 12 12:55 tmp >> >> root is blocked from ssh. >> >> --David Reagan >> >> On Fri, Sep 12, 2014 at 12:21 PM, Michael DeHaan <[email protected] >> <javascript:>> wrote: >> >>> Can you show /tmp permissions? >>> >>> Also make sure you are SSH'ing as root and not a different user when >>> doing the SSH check? >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> On Fri, Sep 12, 2014 at 2:42 PM, David Reagan <[email protected] >>> <javascript:>> wrote: >>> >>>> When running a playbook, I get "Couldn't read packet: Connection reset >>>> by peer" error. >>>> >>>> For playbook, command, and -vvvv output see: >>>> http://pastebin.com/VgAuvrct >>>> >>>> Ansible works fine on host1, but I get the error on host2. >>>> >>>> If I just use ssh on the command line, both hosts work fine. >>>> >>>> I've triple checked firewall, ssh_config, sshd_config, /tmp >>>> permissions, the users authorized_keys file perms, .ssh dir perms, ssh >>>> version, and even the network configuration. Both servers are configured >>>> exactly the same. >>>> >>>> The remote hosts are running OES11 SP1. >>>> >>>> My local desktop is Ubuntu 14.04. >>>> >>>> I just pulled the devel branch of Ansible this morning. >>>> >>>> Suggestions? >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Ansible Project" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected] <javascript:>. >>>> To post to this group, send email to [email protected] >>>> <javascript:>. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/ansible-project/05e45af7-4118-4985-b79c-98110d3f6bfa%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/ansible-project/05e45af7-4118-4985-b79c-98110d3f6bfa%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "Ansible Project" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/ansible-project/YxBp49NtphM/unsubscribe >>> . >>> To unsubscribe from this group and all its topics, send an email to >>> [email protected] <javascript:>. >>> To post to this group, send email to [email protected] >>> <javascript:>. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgziVn%3D9oV61R81Sc7EGXPhc2wc-PBYbZ%2B76QqST9p077A%40mail.gmail.com >>> >>> <https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgziVn%3D9oV61R81Sc7EGXPhc2wc-PBYbZ%2B76QqST9p077A%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ansible Project" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/ansible-project/CANo%2B_AeRRPuY-6smt1f7YcUDf_B1ideOvVzdG85e3SVN5mtWyQ%40mail.gmail.com >> >> <https://groups.google.com/d/msgid/ansible-project/CANo%2B_AeRRPuY-6smt1f7YcUDf_B1ideOvVzdG85e3SVN5mtWyQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/cf5bea26-982a-47d5-af7b-6ce03ec4eac0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
