Add first playbook
This commit is contained in:
parent
3be41c4da4
commit
d9adab4da4
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue