1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_etebase.git synced 2024-08-16 10:19:52 +02:00

Merge pull request #3 from roles-ansible/apt

refresh apt repo bevore installing packages
This commit is contained in:
L3D 2022-11-15 01:53:40 +01:00 committed by GitHub
commit c0ebda09b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View file

@ -1,4 +1,12 @@
---
- name: Update apt cache
become: true
ansible.builtin.apt:
cache_valid_time: 3600
update_cache: true
when:
- ansible_pkg_mgr == "apt"
- name: Install Python3 Virtualenv
become: true
ansible.builtin.package:

View file

@ -3,5 +3,5 @@ etebase__repo: 'https://github.com/etesync/server.git'
etebase__repo_api: 'https://api.github.com/repos/etesync/server/tags'
# versionscheck
playbook_version_number: 8 # should be a integer
playbook_version_number: 9 # should be a integer
playbook_version_path: 'role-etebase'