Skip to content

Commit

Permalink
Merge branch 'fix/molecule-test' into 'main'
Browse files Browse the repository at this point in the history
fix/molecule test

See merge request proteus-projects/IT/ansible-role-restic_remote!5
  • Loading branch information
Florian Schwär committed Jul 11, 2023
2 parents 3e144a6 + 9cb32f0 commit 5eebc8b
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions molecule/default/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,19 @@
gather_facts: true
gather_subset:
- hardware
become: true

vars:
backup_server: backupserver
restic_client_use_lvm: false # doesn't work inside container, would use host's LVM

pre_tasks:
- name: Force update package cache (Debian)
ansible.builtin.apt:
update_cache: true
become: true
when:
- "ansible_os_family == 'Debian'"

roles:
- role: fifty2technology.restic_client

Expand All @@ -20,7 +27,14 @@

vars:
backup_server: backupserver
restic_server_binary_install_dir: /tmp

pre_tasks:
- name: Force update package cache (Debian)
ansible.builtin.apt:
update_cache: true
become: true
when:
- "ansible_os_family == 'Debian'"

roles:
- role: fifty2technology.restic_server

0 comments on commit 5eebc8b

Please sign in to comment.