diff --git a/playbooks/00-prepare.yaml b/playbooks/00-prepare.yaml new file mode 100644 index 0000000..543c7b3 --- /dev/null +++ b/playbooks/00-prepare.yaml @@ -0,0 +1,12 @@ +--- +- name: General system preparation + hosts: all + tasks: + - name: Apt update + ansible.builtin.apt: + update_cache: true + + - name: Apt cleanup + ansible.builtin.apt: + autoremove: true + autoclean: true diff --git a/playbooks/main.yaml b/playbooks/main.yaml new file mode 100755 index 0000000..1788bfa --- /dev/null +++ b/playbooks/main.yaml @@ -0,0 +1,9 @@ +#!/usr/bin/env ansible-playbook +--- +# Preparation +- import_playbook: 00-prepare.yaml +- import_playbook: 01-ssh.yaml + +# Bind setup +- import_playbook: 10-firewall.yaml +- import_playbook: 20-bind.yaml