Unit 1 Lab
Automation Tools - Installation and Execution
Info
If you are unable to finish the lab in the ProLUG lab environment we ask you reboot
the machine from the command line so that other students will have the intended environment.
Required Materials
- Putty or other terminal/connection tool
- Lab Server (Killercoda recommended)
- Root or sudo command access
Downloads
The lab has been provided for convenience below:
Lab
This lab is designed to have the engineer verify and execute their automation tools in a controlled environment.
Bash Execution
Execute some simple commands within your bash shell.
-
Verify your location and version of bash
-
Verify your shell PID
-
Verify your shell variable
-
Loop over your target servers (use your target servers).
Enter your password for thesvc_ansibleuser from the lab guide.- If doing the lab on Killercoda, your target servers are
controlplaneandnode01. - If in the ProLUG lab environment, check the lab guide for your target servers.
- If doing the lab on Killercoda, your target servers are
Python Execution
Test and execute Python.
-
Verify your version of Python
-
Test that you can import modules
Ansible Execution
Test and execute Ansible.
-
Verify your version of Ansible
-
Check other ansible tools
The Tab+Tab will trigger autocompletion, showing what commands are available that start withansible-. -
Check modules
Info
If you are unable to finish the lab in the ProLUG lab environment we ask you reboot
the machine from the command line so that other students will have the intended environment.