From 81881035731b1f7af239fa953a3ef3d62b9aa87c Mon Sep 17 00:00:00 2001 From: Victor LABORIE Date: Wed, 5 Sep 2018 17:04:19 +0200 Subject: [PATCH] Add a packweb template/playbook --- Makefile | 3 +++ ansible/packweb.yml | 23 +++++++++++++++++++++++ vars/packweb.json | 8 ++++++++ 3 files changed, 34 insertions(+) create mode 100644 ansible/packweb.yml create mode 100644 vars/packweb.json diff --git a/Makefile b/Makefile index 914e144..7dded1a 100755 --- a/Makefile +++ b/Makefile @@ -8,5 +8,8 @@ evolinux: packmail: ./scripts/make_template packmail | PACKER_CACHE_DIR='build/packer' packer build - +packweb: + ./scripts/make_template packweb | PACKER_CACHE_DIR='build/packer' packer build - + clean: rm -rf build/* diff --git a/ansible/packweb.yml b/ansible/packweb.yml new file mode 100644 index 0000000..1c95c46 --- /dev/null +++ b/ansible/packweb.yml @@ -0,0 +1,23 @@ +--- +- hosts: all + gather_facts: yes + become: yes + + vars: + evolinux_hostname: "packweb" + evolinux_domain: "example.com" + evolinux_fqdn: "{{ evolinux_hostname }}.{{ evolinux_domain }}" + evomaintenance_alert_email: "evomaintenance-{{ evolinux_hostname }}@example.com" + evolinux_evomaintenance_include: False + evolinux_fstab_include: False + evolinux_hardware_include: False + evolinux_log2mail_include: False + evolinux_minifirewall_include: False + evolinux_listupgrade_include: False + evolinux_generateldif_include: False + evoadmin_host: "evoadmin.{{ evolinux_hostname }}.example.com" + evoadmin_contact_email: "evoadmin@example.com" + + roles: + - evolix/evolinux-base + - evolix/packweb-apache diff --git a/vars/packweb.json b/vars/packweb.json new file mode 100644 index 0000000..cdd6b10 --- /dev/null +++ b/vars/packweb.json @@ -0,0 +1,8 @@ +{ + "box_name": "packweb" + ,"ansible_version": "stable-2.2" + ,"roles_version": "9.3.1" + ,"box_revision": "1" + ,"debian_version": "9.5.0" + ,"debian_sha256": "1f97a4b8dee7c3def5cd8215ff01b9edef27c901b28fa8b1ef4f022eff7c36c2" +}