From 9165b1bfa4e02f9f648f9ecff2a7b248ebdf52e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Thu, 6 Aug 2020 19:03:50 +0200 Subject: [PATCH] use pip to install python-hosts and python-consul MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- tasks/install.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tasks/install.yml b/tasks/install.yml index bb52b47..adb6cf5 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -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']