The folder structure looks like this

/etc/ansible:
ansible.cfg
inventory.yml

/etc/ansible/group_vars/:
web.yml

I haven't configured the ansible.cfg in /etc/ansible regarding the cert 
validation.

Op donderdag 31 augustus 2017 02:26:34 UTC-7 schreef J Hawkesworth:
>
> Its odd that you are getting the insecure request warnings - I am 
> wondering if you are running ansible from a folder with a different 
> ansible.cfg in it perhaps, as the ansible_winrm_server_cert_validation: 
> ignore doesn't seem to be taking effect.
>
> On Wednesday, August 30, 2017 at 10:55:31 PM UTC+1, Thijn Bukkems wrote:
>>
>> Not sure if you would know the answer to this and I should probably start 
>> a new thread but for some reason the -m setup command doesn't return any 
>> values. When run, it looks like I'm getting an empty array. P.s. I blanked 
>> out hostnames for security reasons
>>
>> [admin@localhost ansible]$ ansible -m setup web
>>> /usr/lib/python2.7/site-packages/urllib3/connectionpool.py:858: 
>>> InsecureRequestWarning: Unverified HTTPS request is being made. Adding 
>>> certificate verification is strongly advised. See: 
>>> https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
>>>   InsecureRequestWarning)
>>> /usr/lib/python2.7/site-packages/urllib3/connectionpool.py:858: 
>>> InsecureRequestWarning: Unverified HTTPS request is being made. Adding 
>>> certificate verification is strongly advised. See: 
>>> https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
>>>   InsecureRequestWarning)
>>> XXXXXXX.domain.local | SUCCESS => {
>>>     "ansible_facts": {},
>>>     "changed": false
>>> }
>>> XXXXXXX.domain.local | SUCCESS => {
>>>     "ansible_facts": {},
>>>     "changed": false
>>> }
>>
>>

-- 
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/60b8d5d0-13d8-4a54-8458-fdc5d511d6f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to