mirror of
https://github.com/roles-ansible/ansible_role_base.git
synced 2024-08-16 14:29:50 +02:00
Update packages
This commit is contained in:
parent
b25d407ceb
commit
e2dc6e5c56
2 changed files with 7 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue