From 4f224ee8174c5f726bfa4ff249d7cd5e948b12f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yoha=C3=AF-Eliel=20BERREBY?= Date: Thu, 7 May 2020 14:55:12 +0200 Subject: [PATCH] re2o-service: install Python dependencies --- roles/re2o-service/tasks/main.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/roles/re2o-service/tasks/main.yml b/roles/re2o-service/tasks/main.yml index 74ac8fd..5b7d039 100644 --- a/roles/re2o-service/tasks/main.yml +++ b/roles/re2o-service/tasks/main.yml @@ -2,7 +2,15 @@ # Create service user - include_tasks: service_user.yml -# python3-iso8601 python3-jinja2 +- name: Install Python dependencies + apt: + name: + - python3-iso8601 + - python3-jinja2 + update_cache: true + register: apt_result + retries: 3 + until: apt_result is succeeded - name: "Clone re2o {{ service_name }} project" git: