Hanna Arhipova | c01b4e0 | 2019-08-20 17:55:53 +0300 | [diff] [blame] | 1 | |
| 2 | {%- macro MACRO_INSTALL_RECLASS_TOOLS() %} |
| 3 | |
| 4 | - description: Install reclass-tools python package from repo |
| 5 | cmd: | |
| 6 | set -e; |
| 7 | export LC_ALL=en_US.UTF-8; |
| 8 | apt-get install -y build-essential python-dev virtualenv python-virtualenv; |
| 9 | virtualenv venv-reclass-tools; |
| 10 | . venv-reclass-tools/bin/activate; |
| 11 | pip install git+git://github.com/dis-xcom/reclass_tools.git |
| 12 | node_name: {{ HOSTNAME_CFG01 }} |
| 13 | retry: {count: 1, delay: 1} |
| 14 | skip_fail: false |
| 15 | {%- endmacro %} |