-
-
Save engonzal/98f7473c6480c4e2ddbf30577c9b0d1e to your computer and use it in GitHub Desktop.
new user : simple playbook help
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- 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