From 0a1220bc256a76a3f085861ab743a0877b5aa879 Mon Sep 17 00:00:00 2001 From: Edoardo Putti Date: Fri, 31 Aug 2018 21:03:28 +0200 Subject: [PATCH] add shadow lists playbook --- shadow_list.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 shadow_list.yaml diff --git a/shadow_list.yaml b/shadow_list.yaml new file mode 100644 index 0000000..93222e5 --- /dev/null +++ b/shadow_list.yaml @@ -0,0 +1,22 @@ +--- +- hosts: biff + vars: + - server_fqdn: "shadow.lists.lilik.it" + roles: + - role: lxc_guest + vm_name: shadow_list + distro: stretch + - role: ssh_server + ansible_connection: lxc_ssh + ansible_docker_extra_args: shadow_list +- hosts: shadow_list + roles: + - role: dns_record + - role: reverse_proxy + hostname: shadow.list + tasks: + - apt: + name: "{{ item }}" + with_items: + - nginx + - python-django-hyperkitty