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

Update packages

This commit is contained in:
Lilian Roller 2019-03-08 15:02:20 +01:00
parent b25d407ceb
commit e2dc6e5c56
No known key found for this signature in database
GPG key ID: 5215C3441797AB2B
2 changed files with 7 additions and 2 deletions

View file

@ -20,7 +20,9 @@ base_packages:
- bash-completion - bash-completion
- unzip - unzip
- python3-pip - python3-pip
#- rng-tools - asciinema
- ranger
- net-tools
debian_packages: debian_packages:
- molly-guard - molly-guard
@ -30,3 +32,4 @@ debian_packages:
fedora_packages: fedora_packages:
- mtr - mtr
- libselinux-python - libselinux-python

View file

@ -1,13 +1,14 @@
--- ---
- name: Install common base packages [Debian] - name: Install common base packages [Debian]
become: yes
apt: apt:
package: "{{ base_packages }}" package: "{{ base_packages }}"
state: latest state: latest
update_cache: yes update_cache: yes
cache_valid_time: 43200 cache_valid_time: 43200
when: when:
ansible_distribution == 'Debian' - ansible_distribution == 'Debian'
- name: Install common base packages [Debian] - name: Install common base packages [Debian]
apt: apt:
@ -37,6 +38,7 @@
package: package:
- debian-goodies - debian-goodies
- apt-dater-host - apt-dater-host
- apt-transport-https
state: latest state: latest
update_cache: yes update_cache: yes
cache_valid_time: 43200 cache_valid_time: 43200