1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_base.git synced 2024-08-16 14:29:50 +02:00

copy playbook from ffbsee

This commit is contained in:
L3D 2018-11-12 20:45:12 +01:00
parent 292684e048
commit fd9775908d
Signed by: l3d
GPG key ID: CD08445BFF4313D1

55
tasks/main.yml Normal file
View 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