find module : bad install or obsole doc ?

54 views
Skip to first unread message

Gildas Cotomale

unread,
May 29, 2015, 8:36:30 AM5/29/15
to ansible...@googlegroups.com
Hello,

Reading the online documentation page, there's a module "ping" that is not marked as (D)epreciated... But I'm not able to found it. Following is my session :
=====session=transcript=====
user@LOCALHOST:~$ find 2ul -size 1M
2ul
2ul/who_where.j2
2ul/2ul
2ul/taps
2ul/access.txt
2ul/tops
2ul/podium
2ul/podium/1
2ul/podium/2
2ul/podium/3
user@LOCALHOST:~$ ansible localhost -m command -a 'find 2ul  -size 1M'
localhost | success | rc=0 >>
2ul
2ul/who_where.j2
2ul/2ul
2ul/taps
2ul/access.txt
2ul/tops
2ul/podium
2ul/podium/1
2ul/podium/2
2ul/podium/3

user@LOCALHOST:~$ ansible localhost -m find -a 'paths=~/2ul size=1M'
localhost | FAILED => module find not found in configured module paths
user@LOCALHOST:~$ ansible --version
ansible 1.9.0.1
  configured module search path = None
user@LOCALHOST:~$ ansible localhost -m ping
localhost | success >> {
    "changed": false,
    "ping": "pong"
}

user@LOCALHOST:~$
=====session=transcript=====

From the documentation page, following the link to GitHub, i can see that this core module is still there... https://github.com/ansible/ansible-modules-core/blob/devel/files/find.py

So what's wrong with me or my install ?

Best regard.


Brian Coca

unread,
May 29, 2015, 9:04:20 AM5/29/15
to ansible...@googlegroups.com
find (as it states in docs) will be available in 2.0 (current development)



--
Brian Coca

Gildas Cotomale

unread,
Jun 17, 2015, 10:20:13 AM6/17/15
to ansible...@googlegroups.com
On may 29th 2015 at 15:04:20 UTC+2, Brian Coca wrote :
find (as it states in docs) will be available in 2.0 (current development)
 
My bad. I missed that.
Thanks Brian. 
Reply all
Reply to author
Forward
0 new messages