If you haven't installed pre-requisistes yet. Please return to Pre-requisites (all methods).
- VirtualenvWrapper installation
- Virtualenv creation
- Virtualenv activation
- Install ansible dependencies
- Clone ansible repository
- Activate ansible environment
- Exit from your virtualenv
- Each time you want to work with OBM-Deploy
Virtualenv installation [▲](#top-page "back to top") =======================
$ sudo apt-get install python-virtualenv python-pip
$ sudo yum install python-virtualenv python-pip
Virtualenv creation [▲](#top-page "back to top") ===================
Run following command from the directory where you cloned obm-deploy repository.
$ virtualenv -p /usr/bin/python2 --no-site-packages env
Virtualenv activation [▲](#top-page "back to top") =====================
Run the following command from the directory where you cloned obm-deploy repository.
$ . env/bin/activate
Install ansible dependencies [▲](#top-page "back to top") ============================
$ pip install paramiko PyYAML jinja2 pyasn1 pycrypto python-keyczar==0.71b
Clone ansible repository [▲](#top-page "back to top") ========================
$ git clone https://github.com/ansible/ansible -b release1.9.3
Activate ansible environment [▲](#top-page "back to top") ============================
$ source ansible/hacking/env-setup
Exit from your virtualenv [▲](#top-page "back to top") =========================
$ deactivate
Each time you want to work with OBM-Deploy [▲](#top-page "back to top") ==========================================
Run following commands from the directory where you cloned obm-deploy repository.
$ source env/bin/activate
$ source ansible/hacking/env-setup