From ea15fd7c15e302ba01b6c357c93ad060342d5243 Mon Sep 17 00:00:00 2001 From: Matthias Leutenegger Date: Thu, 15 Aug 2019 13:37:22 +0200 Subject: [PATCH] installing bzip2 via pre_tasks in tests --- .travis.yml | 4 ---- molecule/default/playbook.yml | 5 +++++ 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2444b8c..d657e5b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,10 +15,6 @@ env: install: - pip install molecule docker - git clone https://github.com/arillso/tests molecule/default/lint -addons: - apt: - packages: - - bzip2 before_script: - cd ../ diff --git a/molecule/default/playbook.yml b/molecule/default/playbook.yml index 39c09a3..c7567b7 100644 --- a/molecule/default/playbook.yml +++ b/molecule/default/playbook.yml @@ -3,6 +3,11 @@ hosts: all roles: - role: arillso.restic + pre_tasks: + - name: install bzip2 + package: + name: bzip2 + state: present vars: restic_download_path: ~/restic restic_install_path: ~/restic