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:
|
apt:
|
||||||
state: 'latest'
|
package:
|
||||||
name: "{{ packages }}"
|
|
||||||
update_cache: yes
|
|
||||||
cache_valid_time: 86400
|
|
||||||
vars:
|
|
||||||
packages:
|
|
||||||
- tmux
|
- tmux
|
||||||
- aptitude
|
- sudo
|
||||||
|
- molly-guard
|
||||||
- htop
|
- htop
|
||||||
- iftop
|
- iftop
|
||||||
- iotop
|
- iotop
|
||||||
- molly-guard
|
- sysstat
|
||||||
- ethtool
|
- ethtool
|
||||||
- ethstatus
|
- ethstatus
|
||||||
- nano
|
- nethogs
|
||||||
|
- nload
|
||||||
- ncdu
|
- ncdu
|
||||||
- haveged
|
|
||||||
- nmap
|
|
||||||
- vim
|
|
||||||
- fail2ban
|
|
||||||
- python3
|
|
||||||
- python3-jsonschema
|
|
||||||
- python3-yaml
|
|
||||||
- python3-requests
|
|
||||||
- python3-prettytable
|
|
||||||
- python3-jinja2
|
|
||||||
- python3-natsort
|
|
||||||
- jq
|
|
||||||
- git
|
|
||||||
- perl
|
|
||||||
- wget
|
|
||||||
- mtr-tiny
|
- mtr-tiny
|
||||||
|
- knot-dnsutils
|
||||||
|
- atop
|
||||||
|
- vim
|
||||||
|
- nmap
|
||||||
|
- python3
|
||||||
|
- wget
|
||||||
|
- git
|
||||||
- bash-completion
|
- bash-completion
|
||||||
- unzip
|
- unzip
|
||||||
- python3-pip
|
- python3-pip
|
||||||
|
#- rng-tools
|
||||||
|
state: latest
|
||||||
|
update_cache: yes
|
||||||
|
cache_valid_time: 43200
|
||||||
|
|
||||||
- name: Install some common Debian specific packages
|
- name: Install some common Debian specific packages
|
||||||
apt:
|
apt:
|
||||||
name: '{{ packages }}'
|
package:
|
||||||
state: latest
|
|
||||||
update_cache: yes
|
|
||||||
cache_valid_time: 86400
|
|
||||||
vars:
|
|
||||||
packages:
|
|
||||||
- debian-goodies
|
- debian-goodies
|
||||||
- apt-dater-host
|
- apt-dater-host
|
||||||
|
state: latest
|
||||||
|
update_cache: yes
|
||||||
|
cache_valid_time: 43200
|
||||||
when: ansible_distribution == 'Debian'
|
when: ansible_distribution == 'Debian'
|
||||||
|
|
||||||
- name: Update all packages to the latest version
|
|
||||||
|
- name: Remove rpcbind, nfs-common
|
||||||
apt:
|
apt:
|
||||||
upgrade: safe
|
pkg:
|
||||||
|
- rpcbind
|
||||||
|
- nfs-common
|
||||||
|
state: absent
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue