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]> 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]>
> 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]> 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].
>>> 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/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].
>> 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/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].
> 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/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/CA%2BnsWgzvuxh3_LyjwHY_J47VQVb3gpa-KGoXQVTxBV66gZsAKA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to