mirror of
https://github.com/roles-ansible/ansible_role_base.git
synced 2024-08-16 14:29:50 +02:00
update package list
This commit is contained in:
parent
fd9775908d
commit
867df4ecc4
1 changed files with 41 additions and 44 deletions
|
@ -1,55 +1,52 @@
|
|||
---
|
||||
|
||||
- name: Install some common base packages
|
||||
---
|
||||
- name: Install common base packages
|
||||
apt:
|
||||
state: 'latest'
|
||||
name: "{{ packages }}"
|
||||
update_cache: yes
|
||||
cache_valid_time: 86400
|
||||
vars:
|
||||
packages:
|
||||
package:
|
||||
- tmux
|
||||
- aptitude
|
||||
- sudo
|
||||
- molly-guard
|
||||
- htop
|
||||
- iftop
|
||||
- iotop
|
||||
- molly-guard
|
||||
- sysstat
|
||||
- ethtool
|
||||
- ethstatus
|
||||
- nano
|
||||
- nethogs
|
||||
- nload
|
||||
- ncdu
|
||||
- haveged
|
||||
- nmap
|
||||
- vim
|
||||
- fail2ban
|
||||
- python3
|
||||
- python3-jsonschema
|
||||
- python3-yaml
|
||||
- python3-requests
|
||||
- python3-prettytable
|
||||
- python3-jinja2
|
||||
- python3-natsort
|
||||
- jq
|
||||
- git
|
||||
- perl
|
||||
- wget
|
||||
- mtr-tiny
|
||||
- knot-dnsutils
|
||||
- atop
|
||||
- vim
|
||||
- nmap
|
||||
- python3
|
||||
- wget
|
||||
- git
|
||||
- bash-completion
|
||||
- unzip
|
||||
- python3-pip
|
||||
#- rng-tools
|
||||
state: latest
|
||||
update_cache: yes
|
||||
cache_valid_time: 43200
|
||||
|
||||
- name: Install some common Debian specific packages
|
||||
apt:
|
||||
name: '{{ packages }}'
|
||||
state: latest
|
||||
update_cache: yes
|
||||
cache_valid_time: 86400
|
||||
vars:
|
||||
packages:
|
||||
package:
|
||||
- debian-goodies
|
||||
- apt-dater-host
|
||||
state: latest
|
||||
update_cache: yes
|
||||
cache_valid_time: 43200
|
||||
when: ansible_distribution == 'Debian'
|
||||
|
||||
- name: Update all packages to the latest version
|
||||
|
||||
- name: Remove rpcbind, nfs-common
|
||||
apt:
|
||||
upgrade: safe
|
||||
pkg:
|
||||
- rpcbind
|
||||
- nfs-common
|
||||
state: absent
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue