1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_restic.git synced 2024-12-11 23:41:32 +01:00

installing bzip2 via pre_tasks in tests

This commit is contained in:
Matthias Leutenegger 2019-08-15 13:37:22 +02:00
parent 703acb713b
commit ea15fd7c15
2 changed files with 5 additions and 4 deletions

View file

@ -15,10 +15,6 @@ env:
install: install:
- pip install molecule docker - pip install molecule docker
- git clone https://github.com/arillso/tests molecule/default/lint - git clone https://github.com/arillso/tests molecule/default/lint
addons:
apt:
packages:
- bzip2
before_script: before_script:
- cd ../ - cd ../

View file

@ -3,6 +3,11 @@
hosts: all hosts: all
roles: roles:
- role: arillso.restic - role: arillso.restic
pre_tasks:
- name: install bzip2
package:
name: bzip2
state: present
vars: vars:
restic_download_path: ~/restic restic_download_path: ~/restic
restic_install_path: ~/restic restic_install_path: ~/restic