diff options
author | Lars Wirzenius <liw@liw.fi> | 2019-10-02 10:30:38 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2019-10-02 10:30:38 +0300 |
commit | cec7a427dcde72ee3d6a43e955af5c2e646b9ca8 (patch) | |
tree | 0823f254fecda80efc3d3b5903d606b570e0b197 | |
parent | 221ce874ca6575491e39506d4234975bddb24a92 (diff) | |
download | ansibleness-cec7a427dcde72ee3d6a43e955af5c2e646b9ca8.tar.gz |
Add: http.liw.fi
-rw-r--r-- | ansible/http.liw.fi.hz | 5 | ||||
-rw-r--r-- | ansible/http.liw.fi.yml | 36 |
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 |