mirror of
https://github.com/roles-ansible/ansible_role_etebase.git
synced 2024-08-16 10:19:52 +02:00
refresh apt repo bevore installing packages
This commit is contained in:
parent
0fbb422f3d
commit
098a055189
2 changed files with 9 additions and 1 deletions
|
@ -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
|
- name: Install Python3 Virtualenv
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
|
|
|
@ -3,5 +3,5 @@ etebase__repo: 'https://github.com/etesync/server.git'
|
||||||
etebase__repo_api: 'https://api.github.com/repos/etesync/server/tags'
|
etebase__repo_api: 'https://api.github.com/repos/etesync/server/tags'
|
||||||
|
|
||||||
# versionscheck
|
# versionscheck
|
||||||
playbook_version_number: 8 # should be a integer
|
playbook_version_number: 9 # should be a integer
|
||||||
playbook_version_path: 'role-etebase'
|
playbook_version_path: 'role-etebase'
|
||||||
|
|
Loading…
Reference in a new issue