Use Ansible Galaxy with a requirements file called /home/admin/ansible/roles/
install.yml to download and install roles to /home/admin/ansible/roles from the
following URLs:
http:// classroom.example.com /role1.tar.gz The name of this role should be balancer
http:// classroom.example.com /role2.tar.gz The name of this role should be phphello
Install and configure ansible
User bob has been created on your control node. Give him the appropriate permissions on the control node. Install the necessary packages to run ansible on the control node.
Create a configuration file /home/bob/ansible/ansible.cfg to meet the following requirements:
* The roles path should include /home/bob/ansible/roles, as well as any other path that may be required for the course of the sample exam.
* The inventory file path is /home/bob/ansible/inventory.
* Ansible should be able to manage 10 hosts at a single time.
* Ansible should connect to all managed nodes using the bob user.
Create an inventory file for the following five nodes:
nodel.example.com
node2.example.com
node3.example.com
node4.example.com
node5.example.com
Configure these nodes to be in an inventory file where node1 is a member of group dev. nodc2 is a member of group test, nodc3 is a member of group proxy, nodc4 and node 5 are members of group prod. Also, prod is a member of group webservers.
Create and run an Ansible ad-hoc command.
--> As a system administrator, you will need to install software on the managed
nodes.
--> Create a shell script called yum-pack.sh that runs an Ansible ad-hoc command to
create yum-repository on each of the managed nodes as follows:
--> repository1
-----------
1. The name of the repository is EX407
2. The description is "Ex407 Description"
3. The base URL is http://content.example.com/rhel8.0/x86_64/dvd/BaseOS/
4. GPG signature checking is enabled
5. The GPG key URL is http://content.example.com/rhel8.0/x86_64/dvd/RPM-GPG-KEYredhat-
release
6. The repository is enabled
--> repository2
-----------
1. The name of the repository is EXX407
2. The description is "Exx407 Description"
3. The base URL is http://content.example.com/rhel8.0/x86_64/dvd/AppStream/
4. GPG signature checking is enabled
5. The GPG key URL is http://content.example.com/rhel8.0/x86_64/dvd/ RPM-GPG-KEYredhat-
release
6. The repository is enabled
Install and configure ansible
User bob has been created on your control node. Give him the appropriate permissions on the control node. Install the necessary packages to run ansible on the control node.
Create a configuration file /home/bob/ansible/ansible.cfg to meet the following requirements:
* The roles path should include /home/bob/ansible/roles, as well as any other path that may be required for the course of the sample exam.
* The inventory file path is /home/bob/ansible/inventory.
* Ansible should be able to manage 10 hosts at a single time.
* Ansible should connect to all managed nodes using the bob user.
Create an inventory file for the following five nodes:
Configure these nodes to be in an inventory file where node1 is a member of group dev. nodc2 is a member of group test, nodc3 is a member of group proxy, nodc4 and node 5 are members of group prod. Also, prod is a member of group webservers.
Create and run an Ansible ad-hoc command.
--> As a system administrator, you will need to install software on the managed
nodes.
--> Create a shell script called yum-pack.sh that runs an Ansible ad-hoc command to
create yum-repository on each of the managed nodes as follows:
--> repository1
-----------
1. The name of the repository is EX407
2. The description is "Ex407 Description"
3. The base URL is http://content.example.com/rhel8.0/x86_64/dvd/BaseOS/
4. GPG signature checking is enabled
5. The GPG key URL is http://content.example.com/rhel8.0/x86_64/dvd/RPM-GPG-KEYredhat-
release
6. The repository is enabled
--> repository2
-----------
1. The name of the repository is EXX407
2. The description is "Exx407 Description"
3. The base URL is http://content.example.com/rhel8.0/x86_64/dvd/AppStream/
4. GPG signature checking is enabled
5. The GPG key URL is http://content.example.com/rhel8.0/x86_64/dvd/ RPM-GPG-KEYredhat-
release
6. The repository is enabled
Ronald Hill
19 days agoElizabeth Garcia
1 month agoDonna White
2 months agoDorothy Lee
2 months agoJeffrey Parker
3 months agoDeborah Reed
3 months agoDennis Lopez
4 months agoMichelle Bailey
4 months agoRichard Perez
5 months agoBrian Nguyen
5 months agoDeborah Roberts
6 months agoGeorge Wilson
6 months agoGeorge Martinez
6 months agoDonna Baker
5 months agoGeorge Baker
5 months agoJoseph Phillips
5 months agoKendra
6 months agoTammy
7 months agoElly
7 months agoBarrie
7 months agoJerry
7 months agoLinn
8 months agoNoelia
8 months agoLuis
8 months agoClemencia
9 months agoMalinda
9 months agoAshanti
9 months agoLera
9 months agoTheola
10 months agoMarvel
10 months agoLoreen
10 months agoElbert
10 months agoVallie
11 months agoBerry
11 months agoLizette
11 months agoNichelle
11 months agoAlayna
12 months agoBarney
12 months agoAmie
1 year agoRikki
1 year agoKatheryn
1 year agoFlorinda
1 year agoTwana
1 year agoVonda
1 year agoTamesha
1 year agoShenika
1 year agoAlaine
1 year agoAdolph
2 years agoShawn
2 years agoDong
2 years agoShawnda
2 years agoAntonio
2 years agoNan
2 years agoCassi
2 years agoKyoko
2 years agoElmira
2 years agoEmily
2 years agoMichel
2 years agoJohanna
2 years agoAnnita
2 years agoTayna
2 years agoVeronica
2 years agoMattie
2 years agoGlendora
2 years agoDean
2 years agoJesse
2 years agoSang
2 years agoGerardo
2 years ago