diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-01-03 10:48:36 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-01-03 10:48:36 +0200 |
commit | 490c265e5a801f1c0fb5a626d23c3eab430ddb6b (patch) | |
tree | b15ff2e59a23a2fea92fa32846ceff591e380176 /ansible/web.yml | |
parent | 0aa6ec4944040f74e1871e49f651d0aedae08a8e (diff) | |
download | ansibleness-490c265e5a801f1c0fb5a626d23c3eab430ddb6b.tar.gz |
add web VM for playing with local copies of my websites
Diffstat (limited to 'ansible/web.yml')
-rw-r--r-- | ansible/web.yml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/ansible/web.yml b/ansible/web.yml new file mode 100644 index 0000000..477c6c2 --- /dev/null +++ b/ansible/web.yml @@ -0,0 +1,30 @@ +- hosts: web + remote_user: root + roles: + - role: sane_debian_system + - role: unix_users + - role: apache_server + - role: comfortable-debian-system + - role: self-updating-system + vars: + sane_debian_system_version: 1 + unix_users_version: 2 + + sane_debian_system_hostname: web + sane_debian_system_codename: buster + sane_debian_system_mirror: deb.debian.org + + unix_users: + - username: liw + comment: Lars Wirzenius + authorized_keys: | + {{ liw_ssh_pub }} + + static_sites: + + # Sites that refer to this server via CNAME will work out of the box. + + - domain: web + owner: liw + ownermail: liw@liw.fi + letsencrypt: no |