mirror of
https://github.com/roles-ansible/ansible_role_packages.git
synced 2024-08-16 10:19:51 +02:00
copy playbook from ffbsee
This commit is contained in:
parent
292684e048
commit
fd9775908d
1 changed files with 55 additions and 0 deletions
55
tasks/main.yml
Normal file
55
tasks/main.yml
Normal file
|
@ -0,0 +1,55 @@
|
|||
---
|
||||
|
||||
- name: Install some common base packages
|
||||
apt:
|
||||
state: 'latest'
|
||||
name: "{{ packages }}"
|
||||
update_cache: yes
|
||||
cache_valid_time: 86400
|
||||
vars:
|
||||
packages:
|
||||
- tmux
|
||||
- aptitude
|
||||
- htop
|
||||
- iftop
|
||||
- iotop
|
||||
- molly-guard
|
||||
- ethtool
|
||||
- ethstatus
|
||||
- nano
|
||||
- ncdu
|
||||
- haveged
|
||||
- nmap
|
||||
- vim
|
||||
- fail2ban
|
||||
- python3
|
||||
- python3-jsonschema
|
||||
- python3-yaml
|
||||
- python3-requests
|
||||
- python3-prettytable
|
||||
- python3-jinja2
|
||||
- python3-natsort
|
||||
- jq
|
||||
- git
|
||||
- perl
|
||||
- wget
|
||||
- mtr-tiny
|
||||
- bash-completion
|
||||
- unzip
|
||||
- python3-pip
|
||||
|
||||
- name: Install some common Debian specific packages
|
||||
apt:
|
||||
name: '{{ packages }}'
|
||||
state: latest
|
||||
update_cache: yes
|
||||
cache_valid_time: 86400
|
||||
vars:
|
||||
packages:
|
||||
- debian-goodies
|
||||
- apt-dater-host
|
||||
when: ansible_distribution == 'Debian'
|
||||
|
||||
- name: Update all packages to the latest version
|
||||
apt:
|
||||
upgrade: safe
|
Loading…
Reference in a new issue