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

Merge branch 'master' into new

This commit is contained in:
Lilian Roller 2020-11-11 11:30:22 +01:00
commit 1e1f191539
No known key found for this signature in database
GPG key ID: 5215C3441797AB2B

View file

@ -1,4 +1,19 @@
---
- name: update repo-cache for debian/ubuntu
become: true
apt:
update_cache: yes
cache_valid_time: 3600
when:
ansible_os_family == 'Debian'
- name: update repo-cache for debian/ubuntu
become: true
dnf:
update_cache: yes
when:
- ansible_os_family == 'RedHat' and ansible_distribution_version | float >= 8
- name: install base packages for all operating systems
become: true
package: