Skip to content

Instantly share code, notes, and snippets.

@Dirrk
Created December 18, 2018 09:54
Show Gist options
  • Save Dirrk/28604149e0e3553682d207717e7cfa67 to your computer and use it in GitHub Desktop.
Save Dirrk/28604149e0e3553682d207717e7cfa67 to your computer and use it in GitHub Desktop.
- block:
- name: "install default packages after minimal install"
apt:
name: "{{ item }}"
state: present
with_items:
- "at"
- "attr"
- "auditd"
- "bc"
- "binutils"
- "cal"
- "cpio"
- "curl"
- "dnsutils"
- "fail2ban"
- "file"
- "gzip"
- "ipset"
- "ltrace"
- "mosh"
- "netcat"
- "ntp"
- "ntpdate"
- "ntpstat"
- "pdns-recursor"
- "portsentry"
- "pwgen"
- "reportbug"
- "rsync"
- "screen"
- "strace"
- "sudo"
- "sysstat"
- "tcpdump"
- "ufw"
- "unzip"
- "vim"
- "wget"
- "wput"
- "xauth"
- "xz-utils"
- "zip"
when: ( ansible_distribution == "Debian" ) and ( ansible_distribution_major_version == "9" )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment