30 lines
468 B
YAML
30 lines
468 B
YAML
# vim: ft=yaml.ansible
|
|
---
|
|
- name: Set hostname
|
|
hostname:
|
|
name: "{{ hostname }}"
|
|
|
|
- name: Set timezone
|
|
timezone:
|
|
name: "{{ timezone }}"
|
|
|
|
- name: Upgrade system packages
|
|
apt:
|
|
update_cache: true
|
|
upgrade: full
|
|
|
|
- name: Install packages via apt
|
|
apt:
|
|
name: "{{ pkgs }}"
|
|
state: present
|
|
vars:
|
|
pkgs:
|
|
- apparmor
|
|
- curl
|
|
- git
|
|
- haveged
|
|
- needrestart
|
|
- python3-pip
|
|
- ufw
|
|
- unattended-upgrades
|