Ansible Rhel 7 Ec2 Need Ansible Script Modified Follows Write Ansible Script Create 4 Ec2 Q37022446

ANSIBLE ON RHEL 7 EC2

I need this ansible script modified as follows:

Write an ansible script to

a. Create 4 EC2 instances

b. On each, create a teacher group with linux users Fred.

c. On each, install git.

- hosts localhost connection: local gather facts: False become: yes tasks: #escalate permission level - name Provision a set

– hosts localhost connection: local gather facts: False become: yes tasks: #escalate permission level – name Provision a set of instances vars ami id : “ami-0b5 0 0 ef59d8335eee” ec2: region: “us-east-l” key name: blahblah group:launch-wizard-l instance type: t2.micro assign_public_ip: yes vpc subnet id: subnet-48221504

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.