From 7ae7d10c04418f27f8c3500c34730eeb272d3fc9 Mon Sep 17 00:00:00 2001 From: Stefan Haun Date: Tue, 24 Nov 2020 18:31:09 +0100 Subject: [PATCH] Add main playbook as entry point --- main.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 main.yml diff --git a/main.yml b/main.yml new file mode 100644 index 0000000..80b1516 --- /dev/null +++ b/main.yml @@ -0,0 +1,17 @@ +--- +- hosts: tau + become: true + + vars: + - server_admin: "admin@netz39.de" + + + tasks: + - name: Update and clean package cache + apt: + update_cache: true + cache_valid_time: 3600 + autoclean: true + + - name: Setup httpd + include_tasks: tasks/httpd.yml