use pip to install python-hosts and python-consul

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2020-08-06 19:03:50 +02:00
parent 41731ddab2
commit 9165b1bfa4
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 6 additions and 4 deletions

View File

@ -18,11 +18,13 @@
line: '{{ tinc_network_name }}'
state: present
- name: Install script dependencies
- name: Install python dependencies
tags: ['role::tinc', 'role::tinc:install']
apt:
pkg:
- python3-consul
pip:
name:
- python-hosts
- python-consul
executable: /usr/bin/pip3
- name: Copy up, down, & refresh scritps
tags: ['role::tinc', 'role::tinc:install']