set -e - again

This commit is contained in:
sirkubax 2017-10-20 23:29:13 +02:00
parent 340f30f341
commit 1a93518896

View File

@ -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