I am trying to run a simple job to install IIS using Ansible Tower playbook
---
# This playbook installs and enables IIS on Windows hosts
- name: Install IIS
hosts: all
gather_facts: false
tasks:
- name: Install IIS
win_feature:
name: "Web-Server"
state: present
restart: yes
include_sub_features: yes
include_management_tools: yes
I am getting the following error:
fatal: [10.10.3.167]: FAILED! => {"changed": false, "exitcode": "Failed",
"failed": true, "feature_result": [], "invocation": {"module_name":
"win_feature"}, "msg": "Failed to add feature", "restart_needed": false,
"success": false} fatal: [10.10.3.168]: FAILED! => {"changed": false,
"exitcode": "Failed", "failed": true, "feature_result": [], "invocation":
{"module_name": "win_feature"}, "msg": "Failed to add feature",
"restart_needed": false, "success": false}
I am able to run the win_ping playbook fine, which means I can connect to
these servers perfectly.
What could be causing this issue?
--
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/7c8f8fd1-a8c2-4aae-a01c-ebdfb1997a64%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.