I'm trying to install IIS server on the ec2 instance with Windows in AWS. But getting an error:
fatal: [localhost]: FAILED! => { "changed": false, "failed": true, "module_stderr": "", "module_stdout": "", "msg": "MODULE FAILURE", "rc": 0 } Playbook: --- # Install IIS Web-Server - hosts: localhost connection: local remote_user: test become: yes gather_facts: no vars_files: - files/awscreds.yml tasks: - name: Basic provisioning of two t2.micro EC2 instances ec2: aws_access_key: "{{ aws_id }}" aws_secret_key: "{{ aws_key }}" region: "{{ aws_region }}" image: ami-e3bb7399 instance_type: t2.micro count: 1 vpc_subnet_id: subnet-112b2c3d assign_public_ip: yes - name: Install IIS Web-Server with sub features and management tools win_feature: name: Web-Server state: present restart: True include_sub_features: True include_management_tools: True <https://lh3.googleusercontent.com/-g1J8NYzX2LE/WftBkl-BBWI/AAAAAAAAADE/_ZUO942rfgAt3dQqu0DTbyz0I7XJXsaGgCLcBGAs/s1600/Ansible_Error_Playbook.png> <https://lh3.googleusercontent.com/-s6QV2Rjnkoc/WftBpH-Cc8I/AAAAAAAAADI/6zry4eK_FtUQE8uYXBytJJuoau9tldCRQCLcBGAs/s1600/Ansible_Error_Playbook_2.png> Could you please advise how to fix this? Thank you. -- 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/c13f900e-0706-441b-a4fd-9778fe72f1c3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.