Add a packweb template/playbook

This commit is contained in:
Victor LABORIE 2018-09-05 17:04:19 +02:00
parent 456208856d
commit 8188103573
3 changed files with 34 additions and 0 deletions

View File

@ -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/*

23
ansible/packweb.yml Normal file
View File

@ -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

8
vars/packweb.json Normal file
View File

@ -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"
}