initial cleanup server-manager

This commit is contained in:
2020-12-24 14:27:31 +01:00
commit ccd20af081
81 changed files with 2601 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
- name: configure {{domain}}.conf
template: src=homepage.nginx.conf dest=/etc/nginx/conf.d/{{domain}}.conf
notify: restart nginx
- name: recieve {{domain}} certificate
command: certbot certonly --agree-tos --email {{administrator_email}} --non-interactive --webroot -w /var/lib/letsencrypt/ -d {{domain}}
- name: homepage repo git
git:
repo: "{{homepage_repository_address}}"
dest: "/usr/share/nginx/homepage"
update: yes