Hi All,

As I noted in a previously closed issue 
<https://github.com/ansible/ansible/issues/14710#issuecomment-291744396>, 
it's not clear to me where `ansible_winrm_server_cert_validation` will be 
respected in group_vars and host_vars.  In addition, I'm unsure how to deal 
with the situation of dynamic inventory, such as in Ansible Tower.  Here's 
my GitHub question repeated for convenience:

----

I feel terrible asking this, given the amount of traffic on this thread, 
but I'm wondering if a change to 

ansible_winrm_server_cert_validation



 is still expected for Ansible 2.3.

As far as I can tell, it still must be set in the inventory file, if the 
desired behavior is : 

ansible_winrm_server_cert_validation=ignore

Just as you noted a while ago 
<https://github.com/ansible/ansible/issues/14710#issuecomment-190474564>, 
placement in a playbook will not be respected.  For instance  : 

 
- name: Debug playbook
  hosts: all
  vars:
    - ansible_connection: winrm
    - ansible_winrm_server_cert_validation: ignore
    - ansible_user: user
    - ansible_password: password
    - ansible_port: 5986
    - ansible_winrm_transport: ntlm


  tasks:
    - name: "Print a sanity check (message)"
      debug: msg="Running debug playbook"



 
Tested using `ansible 2.2.1.0` and `pywinrm==0.2.2`.

-- 
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/824cfdcf-06b3-4cfe-ac05-840d304aa1f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to