[ansible-devel] About Inventory

2016-06-29 Thread
I'am a beginning user of Ansible,One problem has been bothering me:
whether all host must be add into a single file with “hosts”? if i have a 
lots of host,It will lead to very large files,How to divide into multiple 
files?

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-devel] About Inventory

2016-06-29 Thread
I did it!!!
Thanks very much!!!

在 2016年6月29日星期三 UTC+8下午5:48:58,Serge van Ginderachter写道:
>
> Just point your inventory (-i or in ansible.cfg) to a directory and 
> combine multiple files in there.
>
> On 29 June 2016 at 10:58, 杨杰 <80m...@gmail.com > wrote:
>
>> I'am a beginning user of Ansible,One problem has been bothering me:
>> whether all host must be add into a single file with “hosts”? if i have a 
>> lots of host,It will lead to very large files,How to divide into 
>> multiple files?
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Ansible Development" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to ansible-deve...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-devel] One Trouble! -- ansible connect to remote host

2016-10-17 Thread
In my IT infrastructure , ansible can not connet to remote host by ssh 
directly,between server  and remote has a FM(Fortress Machine),how can I 
connet to remote with zhe FM?

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-devel] Re: Need document to use ANSIBLE APIs with curl

2016-10-17 Thread
 Our project needed this demand,we devalope this apis by python myself


在 2016年10月14日星期五 UTC+8下午3:53:51,Sumit Dangi写道:
>
> Need document to use ANSIBLE APIs with curl.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-devel] One Trouble! -- ansible connect to remote host

2016-10-18 Thread
Thank!!!

在 2016年10月18日星期二 UTC+8下午1:35:48,Martin Schmidt写道:
>
> Hi, 
> you can use the ssh proxycommand option: 
>
> $ cat ~/.ssh/config 
>
>Host host1 
>  User user1 
>  ProxyCommand ssh FM_user@FM -W %h:%p 
>
> Best, 
> Martin 
>
> On 18/10/16 05:36, 杨杰 wrote: 
> > In my IT infrastructure , ansible can not connet to remote host by ssh 
> > directly,between server  and remote has a FM(Fortress Machine),how can 
> > I connet to remote with zhe FM? 
> > -- 
> > You received this message because you are subscribed to the Google 
> > Groups "Ansible Development" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> > an email to ansible-deve...@googlegroups.com  
> > <mailto:ansible-devel+unsubscr...@googlegroups.com >. 
> > For more options, visit https://groups.google.com/d/optout. 
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-devel] One Trouble! -- ansible connect to remote host

2016-10-18 Thread
I try it, and exceute:  
ansible 192.168.170.197 -m setup 

but looks this:

<https://lh3.googleusercontent.com/-s8Eo1OcWusw/WAX1JzurTVI/ABE/Xmh0_baaef8uL5Rd6n8ZJ7QKf_bArnCkwCLcB/s1600/2016-10-18_180907.png>

then ,input anything will be error always
 


在 2016年10月18日星期二 UTC+8下午1:35:48,Martin Schmidt写道:
>
> Hi, 
> you can use the ssh proxycommand option: 
>
> $ cat ~/.ssh/config 
>
>Host host1 
>  User user1 
>  ProxyCommand ssh FM_user@FM -W %h:%p 
>
> Best, 
> Martin 
>
> On 18/10/16 05:36, 杨杰 wrote: 
> > In my IT infrastructure , ansible can not connet to remote host by ssh 
> > directly,between server  and remote has a FM(Fortress Machine),how can 
> > I connet to remote with zhe FM? 
> > -- 
> > You received this message because you are subscribed to the Google 
> > Groups "Ansible Development" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> > an email to ansible-deve...@googlegroups.com  
> > <mailto:ansible-devel+unsubscr...@googlegroups.com >. 
> > For more options, visit https://groups.google.com/d/optout. 
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-devel] Re: One Trouble! -- ansible connect to remote host

2016-10-18 Thread


在 2016年10月18日星期二 UTC+8上午11:36:11,杨杰写道:
>
> In my IT infrastructure , ansible can not connet to remote host by ssh 
> directly,between server  and remote has a FM(Fortress Machine),how can I 
> connet to remote with zhe FM?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-devel] Ansible remote management modules problem

2016-12-08 Thread
I excecut ansible command : 
   ansible 
192.168.207.48 -m ipmi_power -a "user=wq password=abc.123.. stste=off"

result is :


   why?
 
i excecute :
   ipmitool -I lanplus -H 192.168.207.48 -U wq -P abc.123.. power off
 is OK!
Help!

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-devel] Which Modules can be use to manage Raid?

2016-12-22 Thread
Which Modules Can be use to manage Raid?
 Or,How to do with another way?
Thanks!!!

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.