(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
Ansible lab2
1. LAB 2
1. Create and open a new yaml file, /home/cloud-
user/yaml/numbers.yml. Add contents to the file in YAML
format to represent a list of two dictionaries, numbers and
numeros . The first list, numbers, contains the following item:
One
Two
Three
The second list, numeros contains the following,
Uno
Dos
Tres
Now, Validate the yaml file using python’s system and yaml
modules.
2. Create a playbook , /home/cloud-user/playbook.yml , which
will install httpd package and it will start the httpd service.
Check the syntax of the playbook and after that run it from
your control node to managed node.
3. Create a playbook , /home/cloud-user/playbook_user.yml,
which will create the following users on managed node. Use
variables for that.
Users:
Bob
John
Roy
Alise
Cook
Anne