-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ansible_rhel: Reformat md files for translation automation
- Loading branch information
Showing
15 changed files
with
521 additions
and
516 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,15 +12,15 @@ | |
* [Step 2 - Working the Labs](#step-2---working-the-labs) | ||
* [Step 3 - Challenge Labs](#step-3---challenge-labs) | ||
|
||
# Objective | ||
## Objective | ||
|
||
- Understand the lab topology and how to access the environment. | ||
- Understand how to work the workshop exercises | ||
- Understand challenge labs | ||
* Understand the lab topology and how to access the environment. | ||
* Understand how to work the workshop exercises | ||
* Understand challenge labs | ||
|
||
# Guide | ||
## Guide | ||
|
||
## Your Lab Environment | ||
### Your Lab Environment | ||
|
||
In this lab you work in a pre-configured lab environment. You will have access to the following hosts: | ||
|
||
|
@@ -31,68 +31,74 @@ In this lab you work in a pre-configured lab environment. You will have access t | |
| Managed Host 2 | node2 | | ||
| Managed Host 3 | node3 | | ||
|
||
## Step 1 - Access the Environment | ||
### Step 1 - Access the Environment | ||
|
||
Login to your control host via SSH: | ||
|
||
> **Warning** | ||
> | ||
> Replace **11.22.33.44** by your **IP** provided to you, and the **X** in student**X** by the student number provided to you. | ||
ssh [email protected] | ||
```bash | ||
ssh [email protected] | ||
``` | ||
|
||
> **Tip** | ||
> | ||
> The password will be provided by your instructor | ||
Then become root: | ||
|
||
[student<X>@ansible ~]$ sudo -i | ||
```bash | ||
[student<X>@ansible ~]$ sudo -i | ||
``` | ||
|
||
Most prerequisite tasks have already been done for you: | ||
|
||
- Ansible software is installed | ||
|
||
- SSH connection and keys are configured | ||
|
||
- `sudo` has been configured on the managed hosts to run commands that require root privileges. | ||
* Ansible software is installed | ||
* SSH connection and keys are configured | ||
* `sudo` has been configured on the managed hosts to run commands that require root privileges. | ||
|
||
Check Ansible has been installed correctly | ||
|
||
[root@ansible ~]# ansible --version | ||
ansible 2.7.0 | ||
[...] | ||
```bash | ||
[root@ansible ~]# ansible --version | ||
ansible 2.7.0 | ||
[...] | ||
``` | ||
|
||
> **Note** | ||
> | ||
> Ansible is keeping configuration management simple. Ansible requires no database or running daemons and can run easily on a laptop. On the managed hosts it needs no running agent. | ||
Log out of the root account again: | ||
|
||
[root@ansible ~]# exit | ||
logout | ||
```bash | ||
[root@ansible ~]# exit | ||
logout | ||
``` | ||
|
||
> **Note** | ||
> | ||
> In all subsequent exercises you should work as the student\<X\> user on the control node if not explicitly told differently. | ||
## Step 2 - Working the Labs | ||
### Step 2 - Working the Labs | ||
|
||
You might have guessed by now this lab is pretty commandline-centric… :-) | ||
|
||
- Don’t type everything manually, use copy & paste from the browser when appropriate. But stop to think and understand. | ||
* Don’t type everything manually, use copy & paste from the browser when appropriate. But stop to think and understand. | ||
|
||
- All labs were prepared using **Vim**, but we understand not everybody loves it. Feel free to use alternative editors. In the lab environment we provide **Midnight Commander** (just run **mc**, function keys can be reached via Esc-\<n\> or simply clicked with the mouse) or **Nano** (run **nano**). Here is a short [editor intro](../0.0-support-docs/editor_intro.md). | ||
* All labs were prepared using **Vim**, but we understand not everybody loves it. Feel free to use alternative editors. In the lab environment we provide **Midnight Commander** (just run **mc**, function keys can be reached via Esc-\<n\> or simply clicked with the mouse) or **Nano** (run **nano**). Here is a short [editor intro](../0.0-support-docs/editor_intro.md). | ||
|
||
> **Tip** | ||
> | ||
> In the lab guide commands you are supposed to run are shown with or without the expected output, whatever makes more sense in the context. | ||
## Step 3 - Challenge Labs | ||
### Step 3 - Challenge Labs | ||
|
||
You will soon discover that many chapters in this lab guide come with a "Challenge Lab" section. These labs are meant to give you a small task to solve using what you have learned so far. The solution of the task is shown underneath a warning sign. | ||
|
||
---- | ||
--- | ||
**Navigation** | ||
<br> | ||
[Next Exercise](../1.2-adhoc) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.