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 [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/11fa1290-14f0-4079-9ea0-a3ae2d36893c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to