Skip to content

Instantly share code, notes, and snippets.

@engonzal
Last active December 18, 2018 02:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save engonzal/98f7473c6480c4e2ddbf30577c9b0d1e to your computer and use it in GitHub Desktop.
Save engonzal/98f7473c6480c4e2ddbf30577c9b0d1e to your computer and use it in GitHub Desktop.
new user : simple playbook help
---
- include: service_default_packages.yml
- hosts: all
tasks:
- name: "install default packages after minimal install"
apt:
name: "{{ item }}"
state: present
loop:
- "at"
- "attr"
- "auditd"
- "bc"
- "binutils"
- "cal"
- "cpio"
- "curl"
- "dnsutils"
- "fail2ban"
- "file"
- "gzip"
- "ipset"
- "ltrace"
- "mosh"
- "netcat"
- "ntp"
- "ntpdate"
- "ntpstat"
- "pdns-recursor"
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