Questions about enabling the firewall in windows

Good afternoon with everyone, I hope you have a great day.
Could you help me with a problem, I will explain my problem shortly:
I am in charge of creating instances from amis already designed, I think it’s great I am working with ansible and json.
When creating instances in Linux, I’m doing great, the question is when I try to create instances in windows. The instance creates me but does not give me access, I think it is through the firewall, I saw a module of “firewalld” in ansible to adapt it to my pc but it tells me that the python does not grab.
I read in other articles and saw that the firewalld module is generating conflicts with python.
The question I wish to solve that problem to close my sprint and see other tasks, if someone of good will can help me I would appreciate it.
I am using these parameters:

ubuntu: 18.04

ansible: 2.8.6

python: 2.7.15+

aws_friendly_region: ‘us-east-1 : US East (N. Virginia)’

Hi

Good afternoon with everyone, I hope you have a great day.
Could you help me with a problem, I will explain my problem shortly:
I am in charge of creating instances from amis already designed, I think it's great I am working with ansible and json.
When creating instances in Linux, I'm doing great, the question is when I try to create instances in windows. The instance creates me but does not give me access, I think it is through the firewall, I saw a module of "firewalld" in ansible to adapt it to my pc but it tells me that the python does not grab.
I read in other articles and saw that the firewalld module is generating conflicts with python.
The question I wish to solve that problem to close my sprint and see other tasks, if someone of good will can help me I would appreciate it.
I am using these parameters:

ubuntu: 18.04

ansible: 2.8.6

python: 2.7.15+

aws_friendly_region: 'us-east-1 : US East (N. Virginia)'

Could you please tell clearly:

- What you are trying to achieve.
- How you are doing this.
- What problems you encounter.
- Which command did you run, and what output did you get from that
(copied as text, not as images/attachments/screenshots)
- What the relevant tasks/playbooks/code/variables look like

Good afternoon with everyone, I hope you have a great day.
Could you help me with a problem, I will explain my problem shortly:
I am in charge of creating instances from amis already designed, I think it’s great I am working with ansible and json.
When creating instances in Linux, I’m doing great, the question is when I try to create instances in windows. The instance creates me but does not give me access, I think it is through the firewall, I saw a module of “firewalld” in ansible to adapt it to my pc but it tells me that the python does not grab.
I read in other articles and saw that the firewalld module is generating conflicts with python.
The question I wish to solve that problem to close my sprint and see other tasks, if someone of good will can help me I would appreciate it.
I am using these parameters:

ubuntu: 18.04

ansible: 2.8.6

python: 2.7.15+

aws_friendly_region: ‘us-east-1 : US East (N. Virginia)’

  1. I am trying to create instances in windows from amis, for linux if it is created.

  2. I am running my playbook to create my instance, this one does compile me but does not give me remote access.

  3. The problem is that I cannot log in remotely and see my instance, I am using remmina in this way: ip, username, password. All this in RDP.

The playbook I run it this way:

ansible-playbook -e @variables.yml -i hosts site.yml

After that I do the 3. Here the remina does not open to me.
5. It is in my work mode:

templates---------→ groupvars.j2
vars---------------→ kp-xxx.pem

------------→ main.yml
hosts
secrets.json
site.yml
variables.yml

In hosts:

[local]
localhost

[webserver]

In secrets.json:

{
“aws_access_key”: “ABC”,
“aws_secret_key”: “123C”
}

In variables.yml: