LiNUX Lab

Templates Lab 1

We deploy the real environment, you take the scenario-based labs on us. Hands-on, from anywhere, at any time.

Time required: 2 Hours

Scope

Create a template with a variable for server hostname.  Create a playbook that installs apache and uses a template to create the /var/www/html/index.html file on the target server.  The hostname must be in the index.html file.

Objectives

Create a template with a variable for server hostname.  Create a playbook that installs apache and uses a template to create the /var/www/html/index.html file on the target server.  The hostname must be in the index.html file.

Overview

Create a template with a variable for server hostname.  Create a playbook that installs apache and uses a template to create the /var/www/html/index.html file on the target server.  The hostname must be in the index.html file.

Scenarios

1. Setup Lab server as per prerequisites.
2. Create a template with a variable for server hostname.
3. Create a playbook that installs apache
4. Ensure the playbook uses a template to create the /var/www/html/index.html file on the target server.
5. The hostname must be in the index.html file.

Share our Labs
Start Your Free Trial

We have the longest and most in depth courses about cloud and engineering topics on the web. All of our training content is included with every membership.