"You are SSHing as root, is permitremoterootlogin enabled?"

If that were the case the error would appear further up.

Also sudo isn't being used because of the "-u root"

Is there anything unusual about /tmp we might need to know?



On Wed, Oct 1, 2014 at 7:40 AM, Mark <mark.vanderh...@gmail.com> wrote:

>
> You are SSHing as root, is permitremoterootlogin enabled?
> Op woensdag 1 oktober 2014 13:36:16 UTC+2 schreef olga:
>>
>> Hi,
>>
>> I am using ansible 1.7.2 and see the chown is not working
>>
>> olga@ubuntu:~/ansible/try/02$ ansible localhost -u root -k -m file -a
>> 'path=/tmp/test6 state=directory mode=0700 owner=root'
>> SSH password:
>> localhost | FAILED >> {
>>     "failed": true,
>>     "gid": 1001,
>>     "group": "olga",
>>     "mode": "0775",
>>     "msg": "chown failed",
>>     "owner": "olga",
>>     "path": "//tmp/test6",
>>     "size": 4096,
>>     "state": "directory",
>>     "uid": 1001
>> }
>>
>> What is the right command option to create dir owned by the sudo user ?
>>
>> Thanks,
>> olga
>>
>  --
> 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 ansible-project+unsubscr...@googlegroups.com.
> To post to this group, send email to ansible-project@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/9c489288-8085-47b4-844a-14712fb51ac2%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/9c489288-8085-47b4-844a-14712fb51ac2%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 the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgy0R%3Dxo9SrK-7aTSce4qT9JFjsfFecR6Pzep7aehWyTaQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to