summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2019-10-02 10:30:38 +0300
committerLars Wirzenius <liw@liw.fi>2019-10-02 10:30:38 +0300
commitcec7a427dcde72ee3d6a43e955af5c2e646b9ca8 (patch)
tree0823f254fecda80efc3d3b5903d606b570e0b197
parent221ce874ca6575491e39506d4234975bddb24a92 (diff)
downloadansibleness-cec7a427dcde72ee3d6a43e955af5c2e646b9ca8.tar.gz
Add: http.liw.fi
-rw-r--r--ansible/http.liw.fi.hz5
-rw-r--r--ansible/http.liw.fi.yml36
2 files changed, 41 insertions, 0 deletions
diff --git a/ansible/http.liw.fi.hz b/ansible/http.liw.fi.hz
new file mode 100644
index 0000000..12f3d61
--- /dev/null
+++ b/ansible/http.liw.fi.hz
@@ -0,0 +1,5 @@
+defaults:
+ type: cx11
+ image: debian-10
+hosts:
+ - name: static
diff --git a/ansible/http.liw.fi.yml b/ansible/http.liw.fi.yml
new file mode 100644
index 0000000..802a4f7
--- /dev/null
+++ b/ansible/http.liw.fi.yml
@@ -0,0 +1,36 @@
+- hosts: static
+ remote_user: root
+ roles:
+ - role: sane_debian_system
+ - role: comfortable-debian-system
+ - role: unix_users
+ - role: apache_server
+ - role: self-updating-system
+ vars:
+ hostname: static
+ debian_codename: buster
+ debian_mirror: deb.debian.org
+ debian_mirror_src: deb.debian.org
+
+ unix_users:
+ - username: liw
+ comment: Lars Wirzenius
+ authorized_keys: |
+ {{ liw_ssh_pub }}
+ - username: ickliwfi
+ comment: Ick website
+ authorized_keys: |
+ {{ liw_ssh_pub }}
+
+ letsencrypt: yes
+ letsencrypt_email: liw@liw.fi
+ letsencrypt_main_domain: http.liw.fi
+ certbot_debian_release: buster
+
+ static_sites:
+
+ - domain: http-static.vm.liw.fi
+ owner: liw
+ ownermail: liw@liw.fi
+ letsencrypt: yes
+ letsencrypt_cert: static1