Hetzner nextcloud server 2.0
- Debian bookworm
- PHP 8.2
- CSS 75.8%
- Jinja 23.7%
- HTML 0.5%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| files | ||
| handlers | ||
| meta | ||
| tasks | ||
| templates | ||
| vars | ||
| .gitignore | ||
| .travis.yml | ||
| ansible.cfg | ||
| hosts | ||
| install.yml | ||
| README.md | ||
| upgrade.yml | ||
| Vagrantfile | ||
webhost
Configure Nginx with PHP and MySQL, install Wordpress and use SSL.
Requirements
Ubuntu
Role Variables
You can have as many webhosts and webaliases as you want or your server can handle.
These variables are used to deploy the webhost.
hostmaster_email: hostmaser@example.com
webhost_server: webhost.example.com
mail_relay: mailserver.example.com
latest_wordpress_md5: e93d94d9cde6b6d75779e7f7ef72f428
php_upload_limit: 8M
webhosts:
- name: example.com
db_name: example_com
db_password: changethis
site_type: wordpress
- name: git.example.com
db_name: gogs
db_password: changethis
site_type: gogs
webaliases:
- host: example.com
aliases:
- example.net
- example.org
Dependencies
- jdauphant.nginx
- geerlingguy.letsencrypt
Example Playbook
Write the following in a file mywebhost.yml
- hosts: servers
roles:
- { role: ringe.webhost }
Place the variables in the global vars file, relative to your playbook vars/main.yml
License
MIT