Can someone help me with configuring multiple users (ubuntu/ec2-user) to connect . . .

Diana:
@Al West

Al West:
I thought you had ansible ping working with different Operating Systems on AWS with dynamic inventory? What is the question?

Diana:
Yes you right.
You wrote: “Yes, basically you are telling the ansible to separate hosts into groups, then you refer to those groups by way of the file name to refer to the hosts in that group.”

So i wanted to understand where did i refer to those groups?

Al West:
in the group_vars directory

Diana:
How does ansible know to go this folder?

Al West:
It is built in logic to ansible - variable precedence:
https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_variables.html#understanding-variable-precedence

Diana:
Ok thank you very much!
You were very helpful :slightly_smiling_face: