mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
set -e - again
This commit is contained in:
parent
340f30f341
commit
1a93518896
@ -171,10 +171,12 @@ pre_tasks:
|
|||||||
|
|
||||||
#### We would use repository with *ready to use* examples
|
#### We would use repository with *ready to use* examples
|
||||||
We would clone the repository
|
We would clone the repository
|
||||||
|
This example install ansible in `virtualenv` so it is independend from a system. You need to init it with `source environment.sh` command
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ git colone git@github.com:sirkubax/ansible-for-learnXinYminutes.git
|
$ git colone git@github.com:sirkubax/ansible-for-learnXinYminutes.git
|
||||||
$ cd ansible-for-learnXinYminutes
|
user@host:~/$ cd ansible-for-learnXinYminutes
|
||||||
$ source environment.sh
|
user@host:~/ansible-for-learnXinYminutes$ source environment.sh
|
||||||
$
|
$
|
||||||
$ # First lets execute the simple_playbook.yml
|
$ # First lets execute the simple_playbook.yml
|
||||||
(venv) user@host:~/ansible-for-learnXinYminutes$ ansible-playbook playbook/simple_playbook.yml
|
(venv) user@host:~/ansible-for-learnXinYminutes$ ansible-playbook playbook/simple_playbook.yml
|
||||||
|
Loading…
Reference in New Issue
Block a user