From 69033b0afbc1c0543b9161d00bf03bf3903b90eb Mon Sep 17 00:00:00 2001 From: Stonewall Jackson Date: Mon, 20 Feb 2023 11:50:39 -0500 Subject: sabredav: add docs --- roles/sabredav/README.md | 62 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 roles/sabredav/README.md (limited to 'roles') diff --git a/roles/sabredav/README.md b/roles/sabredav/README.md new file mode 100644 index 0000000..caa3da8 --- /dev/null +++ b/roles/sabredav/README.md @@ -0,0 +1,62 @@ +sabre/dav +========= + +Description +----------- + +The `sabredav` role installs and configures the [sabre/dav](https://sabre.io/dav/) +CalDAV/CardDAV server. Authentication and group memberships are provided by +FreeIPA using the [sabredav-freeipa(https://github.com/sacredheartsc/sabredav-freeipa) +project. + +This role configures the PHP application only; it does not configure the webserver. + + +Variables +--------- + +This role **accepts** the following variables: + +Variable | Default | Description +----------------------------|---------------------------------------|------------ +`sabredav_version` | `master` | Git version to install +`sabredav_user` | `s-sabredav` | FreeIPA user for sabredav (will be created) +`sabredav_db_name` | `sabredav` | PostgreSQL database name (will be created) +`sabredav_db_host` | `{{ postgresql_host }}` | PostgreSQL host +`sabredav_imip_from` | `calendar-noreply@{{ email_domain }}` | Email `From:` address for iMIP invites +`sabredav_access_group` | `role-dav-access` | FreeIPA group for sabredav +`sabredav_kerberized_cidrs` | `{{ kerberized_cidrs }}` | Client CIDRs that use GSSAPI authentication + +### Exports + +This role **exports** the following variables: + +Variable | Description +---------------------------|------------ +`sabredav_home` | Path to MediaWiki installation +`sabredav_php_environment` | Dictionary of required environment variables for PHP +`sabredav_php_flags` | Dictionary of required flags for PHP +`sabredav_archive_shell` | Shell command to generate backup tarball +`sabredav_apache_config` | Apache config block for sabre/dav + + +Usage +----- + +Example playbook: + +````yaml +- name: configure sabredav + hosts: dav_servers + roles: + - role: sabredav + + - role: apache_vhost + apache_default_vhost: yes + apache_document_root: '{{ sabredav_home }}' + apache_config: '{{ sabredav_apache_config }}' + + - role: php + php_fpm_environment: '{{ sabredav_php_environment }}' + php_fpm_admin_flags: '{{ sabredav_php_flags }}' +```` -- cgit