correct markdown
This commit is contained in:
parent
1a0a299310
commit
14205f554a
1 changed files with 2 additions and 0 deletions
|
@ -6,6 +6,7 @@ This playbook makes you use Jinja templating to deploy custom motd.
|
||||||
|
|
||||||
First write a Jinja template file following the given specs:
|
First write a Jinja template file following the given specs:
|
||||||
* Contains the following content:
|
* Contains the following content:
|
||||||
|
|
||||||
```
|
```
|
||||||
/-----------------------------
|
/-----------------------------
|
||||||
Welcome to the ansible managed host: <hostname>
|
Welcome to the ansible managed host: <hostname>
|
||||||
|
@ -13,6 +14,7 @@ Welcome to the ansible managed host: <hostname>
|
||||||
Please use Ansible playbooks instead of doing manual modifications on the system.
|
Please use Ansible playbooks instead of doing manual modifications on the system.
|
||||||
-----------------------------/
|
-----------------------------/
|
||||||
```
|
```
|
||||||
|
|
||||||
* Ensure that you use the correct Jinja mechanism to allow replacement of `<hostname` by the corresponding value from the inventory (IP address is OK, depending of your host file).
|
* Ensure that you use the correct Jinja mechanism to allow replacement of `<hostname` by the corresponding value from the inventory (IP address is OK, depending of your host file).
|
||||||
|
|
||||||
Then write a playbook following the given specs:
|
Then write a playbook following the given specs:
|
||||||
|
|
Loading…
Reference in a new issue