Hetzner nextcloud server 2.0 - Debian bookworm - PHP 8.2
  • CSS 75.8%
  • Jinja 23.7%
  • HTML 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2024-06-28 00:35:49 +02:00
files add maintenance page 2017-11-21 09:37:14 +01:00
handlers update PHP config 2021-03-31 16:02:51 +02:00
meta update settings 2017-11-21 09:34:19 +01:00
tasks Removed double entry 2023-11-10 14:36:13 +01:00
templates Update ssl-nextcloud.j2 2024-03-01 01:28:08 +01:00
vars Update main.yml 2024-03-01 01:28:13 +01:00
.gitignore add inventory 2022-06-14 13:05:22 +02:00
.travis.yml add meta 2016-06-18 03:43:19 +02:00
ansible.cfg fix http redirect, reuse code 2016-07-18 13:27:14 +02:00
hosts Update hosts 2023-05-05 12:36:18 +02:00
install.yml fixed ERROR! [DEPRECATED]: ansible.builtin.include has been removed. Use include_tasks or import_tasks instead. 2024-06-28 00:35:49 +02:00
README.md change configuration, update readme 2016-07-14 10:50:04 +02:00
upgrade.yml fixed ERROR! [DEPRECATED]: ansible.builtin.include has been removed. Use include_tasks or import_tasks instead. 2024-06-28 00:35:49 +02:00
Vagrantfile add Vagrant for testing 2016-07-18 13:28:15 +02:00

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

Author Information

@ringe