All,
I'm a newbie who's trying to get Ansible to work on a Windows Server client. I followed instructions found here:
http://docs.ansible.com/intro_windows.html, and both the Linux-based Ansible control server and Windows client seem to be set up properly. I originally ran this example playbook (from
http://docs.ansible.com/win_feature_module.html):
# Playbook example
---
- name: Install IIS
hosts: all
gather_facts: false
tasks:
- name: Install IIS
win_feature:
name: "Web-Server"
state: absent
restart: yes
include_sub_features: yes
include_management_tools: yes
Interestingly, it appeared to uninstall IIS. I'm guessing it's because of the line "state: absent" (but I'm a newbie, so what do I know). So, then I decided to change "absent" to "present", and started to get this error:
Vault password:
sawintest01 | FAILED >> {
"failed": true,
"msg": "A parameter cannot be found that matches parameter name 'IncludeManagementTools'."
}
OK, so I removed the line "IncludeManagementTools". Now, every time I run the playbook, I get the same error. And, if I create a new playbook to install, say SNMP, the same error is still generated, despite the fact that the line "IncludeManagementTools" isn't in the playbook (or any playbooks, at this point). Huh? Why does Ansible keep whining about a parameter that I'm not even including? What am I doing wrong here?
Help would be most gratefully appreciated.
Dimitri