[ansible-project] Re: ansible Error while installation

2016-09-19 Thread engcheng
Hi Rameshs, do you have a ansible.cfg config file ready in /etc/ansible?

On Saturday, September 17, 2016 at 4:52:49 PM UTC+8, SR wrote:
>
> Hi Here,
>
> While Im installing the ansible on MacOS X EI Capitan, Im getting below 
> one after installation and doing ansible --version
>
> Rameshs-MacBook-Pro:~ Ramesh$ ansible --version
> ansible 2.1.1.0
>   config file =
>   configured module search path = Default w/o overrides
> Rameshs-MacBook-Pro:~ Ramesh$ which ansible
> /usr/local/bin/ansible
>
> ​
>
>  
>
> I can’t get the config file name here 
>
> Help me on fixing this. 
>
>
> Rameshs-MacBook-Pro:~ Ramesh$ which ansible
> /usr/local/bin/ansible
> ​
>

-- 
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/4f8c510b-56e0-467a-b3f3-6697c2321832%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Re: ansible Error while installation

2016-09-19 Thread engcheng
Hi Ramesha,

Can you check if /etc/ansible has an "ansible.cfg" file?

If yes, do check the permission.
Else, you may hand-create the file and edit the contents.

Regards
Eng Cheng


On Saturday, September 17, 2016 at 4:52:49 PM UTC+8, SR wrote:
>
> Hi Here,
>
> While Im installing the ansible on MacOS X EI Capitan, Im getting below 
> one after installation and doing ansible --version
>
> Rameshs-MacBook-Pro:~ Ramesh$ ansible --version
> ansible 2.1.1.0
>   config file =
>   configured module search path = Default w/o overrides
> Rameshs-MacBook-Pro:~ Ramesh$ which ansible
> /usr/local/bin/ansible
>
> ​
>
>  
>
> I can’t get the config file name here 
>
> Help me on fixing this. 
>
>
> Rameshs-MacBook-Pro:~ Ramesh$ which ansible
> /usr/local/bin/ansible
> ​
>

-- 
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/8c4b84d5-9765-485b-a8f5-513f7172f736%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] ansible-doc -l: module netapp_e_lun_mapping has a documentation error formatting or is missing documentation

2016-09-19 Thread engcheng
Hi. An error occurred when trying to list out all the help modules in 
ansible-doc.

Does anyone else face with the same issue? 

Tried:

   1. 
   
   Update using "git pull --rebase" and "git submodule update --init 
--recursive"
   
   2. 
   
   Reinstall the whole ansible - "git clone 
git://github.com/ansible/ansible.git --recursive"
   
   
Suggestions welcome. Thanks for helping

 

> └──╼ *$*ansible --version
> ansible 2.2.0 (devel e07b854505) last updated 2016/09/17 16:52:38 (GMT +800)
>   lib/ansible/modules/core: (detached HEAD 488f082761) last updated 
> 2016/09/17 16:52:51 (GMT +800)
>   lib/ansible/modules/extras: (detached HEAD 24da3602c6) last updated 
> 2016/09/17 16:52:51 (GMT +800)
>   config file = /etc/ansible/ansible.cfg
>   configured module search path = Default w/o 
> overrides┌─[rook*@**parrot*]─[~/ansible]└──╼ *$*ansible-doc -l[DEPRECATION 
> WARNING]: docker is kept for backwards compatibility but usage is 
> discouraged. The module documentation details page may explain more about 
> this rationale..This feature will be removed in a future release. Deprecation 
> warnings can be disabled by setting deprecation_warnings=False in 
> ansible.cfg.* [WARNING]: While constructing a mapping from 
> /home/rook/ansible/lib/ansible/modules/core/network/junos/junos_config.py, 
> line 88, column 5, found a duplicate dict key**(required). Using last defined 
> value only.*
> * [WARNING]: While constructing a mapping from 
> /home/rook/ansible/lib/ansible/modules/extras/storage/netapp/netapp_e_auth.py,
>  line 10, column 5, found a duplicate dict**key (api_url). Using last defined 
> value only.*
> * [WARNING]: While constructing a mapping from 
> /home/rook/ansible/lib/ansible/modules/extras/storage/netapp/netapp_e_auth.py,
>  line 10, column 5, found a duplicate dict**key (api_username). Using last 
> defined value only.*
> * [WARNING]: While constructing a mapping from 
> /home/rook/ansible/lib/ansible/modules/extras/storage/netapp/netapp_e_auth.py,
>  line 10, column 5, found a duplicate dict**key (api_password). Using last 
> defined value only.*
> * [WARNING]: While constructing a mapping from 
> /home/rook/ansible/lib/ansible/modules/extras/storage/netapp/netapp_e_lun_mapping.py,
>  line 11, column 3, found a duplicate**dict key (api_url). Using last defined 
> value only.*
> * [WARNING]: While constructing a mapping from 
> /home/rook/ansible/lib/ansible/modules/extras/storage/netapp/netapp_e_lun_mapping.py,
>  line 11, column 3, found a duplicate**dict key (api_username). Using last 
> defined value only.*
> * [WARNING]: While constructing a mapping from 
> /home/rook/ansible/lib/ansible/modules/extras/storage/netapp/netapp_e_lun_mapping.py,
>  line 11, column 3, found a duplicate**dict key (api_password). Using last 
> defined value only.*
> ERROR! module netapp_e_lun_mapping has a documentation error formatting or is 
> missing documentation
>
>

-- 
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/076b4cdb-33ac-4a38-9cbb-75f7ad9a90eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.