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:
commit
1e1f191539
1 changed files with 15 additions and 0 deletions
|
@ -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
|
- name: install base packages for all operating systems
|
||||||
become: true
|
become: true
|
||||||
package:
|
package:
|
||||||
|
|
Loading…
Reference in a new issue