Re: [ansible-project] install Ansible on Mac 2.5.0

2018-04-16 Thread Oscar Vidakovic
Hi,

As Biswadip said, your Ansible installation is ok, and the problem is your
inventory file having wrong syntax. Also note that you are using variable
names maked as obsolete about 2 years ago. I suggest you to follow the
official documentation, where you have a quickstart video

and a getting
started guide
,
as them have useful information as for example inventory syntax or updated
variable names.

Regards,
Oscar

2018-04-16 10:32 GMT+02:00 Biswadip Dutta :

> Hi,
>
> You have Ansible installed properly I believe. Your issue is caused by
> having group name with spaces in the inventory. See This
> .
>
> Regards,
> Biswadip Dutta
>
> On Mon, Apr 16, 2018 at 11:03 AM, Jose Julian Orjuela Lopera <
> josejulianorju...@gmail.com> wrote:
>
>> Hello guys,
>>
>>
>> I need you help, I try the install Ansible on my Mac, but not is
>> possible, I have this is error:
>>
>> Please,  Can someone tell me, how can I install Ansible correctly on my
>> MAC?
>>
>> macOS Hig Sierra version 10.13.4,
>>
>> thanks
>>
>> [DEPRECATION WARNING]: ANSIBLE_HOSTS option, The variable is misleading
>> as it can be a list of hosts and/or paths to inventory sources , use
>> ANSIBLE_INVENTORY instead.
>>
>>  This feature will be removed in version 2.8. Deprecation warnings can be
>> disabled by setting deprecation_warnings=False in ansible.cfg.
>>
>>  [WARNING]:  * Failed to parse /etc/ansible/hosts with yaml plugin: YAML
>> inventory has invalid structure, it should be a dictionary, got: >
>> 'ansible.parsing.yaml.objects.AnsibleSequence'>
>>
>>
>>  [WARNING]:  * Failed to parse /etc/ansible/hosts with ini plugin: need
>> more than 2 values to unpack
>>
>>
>>  [WARNING]: Unable to parse /etc/ansible/hosts as an inventory source
>>
>>
>>  [WARNING]: No inventory was parsed, only implicit localhost is available
>>
>>
>>  [WARNING]: provided hosts list is empty, only localhost is available.
>> Note that the implicit localhost does not match 'all'
>>
>>
>>  [WARNING]: Could not match supplied host pattern, ignoring: server1
>>
>>
>>
>> --
>> 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/ms
>> gid/ansible-project/9869c597-950e-41e5-9e7e-21c03164911e%
>> 40googlegroups.com
>> 
>> .
>> 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/CAEC%3DuXmCOiyVffjuX0XCu3gkjtiw1VCw
> wEMnDJjw_P%3DFsDYsfw%40mail.gmail.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 

[image: APARTUM] 

*Oscar Vidakovic* / DevOP
os...@apartum.com

APARTUM
http://www.apartum.com

-- 
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/CAF0R_31SH8cASjJwEwjTDSf-A7BfomLmoec4Mngx0PawV0U9FA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] install Ansible on Mac 2.5.0

2018-04-16 Thread Biswadip Dutta
Hi,

You have Ansible installed properly I believe. Your issue is caused by
having group name with spaces in the inventory. See This
.

Regards,
Biswadip Dutta

On Mon, Apr 16, 2018 at 11:03 AM, Jose Julian Orjuela Lopera <
josejulianorju...@gmail.com> wrote:

> Hello guys,
>
>
> I need you help, I try the install Ansible on my Mac, but not is possible,
> I have this is error:
>
> Please,  Can someone tell me, how can I install Ansible correctly on my
> MAC?
>
> macOS Hig Sierra version 10.13.4,
>
> thanks
>
> [DEPRECATION WARNING]: ANSIBLE_HOSTS option, The variable is misleading as
> it can be a list of hosts and/or paths to inventory sources , use
> ANSIBLE_INVENTORY instead.
>
>  This feature will be removed in version 2.8. Deprecation warnings can be
> disabled by setting deprecation_warnings=False in ansible.cfg.
>
>  [WARNING]:  * Failed to parse /etc/ansible/hosts with yaml plugin: YAML
> inventory has invalid structure, it should be a dictionary, got: 
> 'ansible.parsing.yaml.objects.AnsibleSequence'>
>
>
>  [WARNING]:  * Failed to parse /etc/ansible/hosts with ini plugin: need
> more than 2 values to unpack
>
>
>  [WARNING]: Unable to parse /etc/ansible/hosts as an inventory source
>
>
>  [WARNING]: No inventory was parsed, only implicit localhost is available
>
>
>  [WARNING]: provided hosts list is empty, only localhost is available.
> Note that the implicit localhost does not match 'all'
>
>
>  [WARNING]: Could not match supplied host pattern, ignoring: server1
>
>
>
> --
> 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/9869c597-950e-41e5-9e7e-21c03164911e%40googlegroups.
> com
> 
> .
> 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/CAEC%3DuXmCOiyVffjuX0XCu3gkjtiw1VCwwEMnDJjw_P%3DFsDYsfw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.