mprahl.rainloop
RainLoop
This is an Ansible role that makes it easy to install and update RainLoop on Ubuntu.
Role Variables
- rainloop_ensure_latest: This variable decides whether to update RainLoop if a newer version is available. The default value is
false
. - rainloop_dir: This is the path where RainLoop will be installed. The default path is
/var/www/rainloop
.
Requirements
To run this role, you need to use sudo or be a root user. If not, the role will not work.
Dependencies
This role relies on two other roles from Ansible Galaxy:
You need to set several variables in these roles for the RainLoop role to function correctly. Check the example playbooks below to find out which variables you need.
Example Playbook
HTTP Deployment
- name: Deploy RainLoop
hosts: mailserver
become: yes
vars:
- rainloop_ensure_latest: true
- apache_remove_default_vhost: true
- apache_vhosts:
- servername: domain.example.com
documentroot: /var/www/rainloop
- php_packages:
- php7.0
- php7.0-cli
- php7.0-common
- php7.0-curl
- php7.0-gd
- php7.0-json
- php7.0-mysql
- php7.0-xml
- libapache2-mod-php7.0
roles:
- mprahl.rainloop
HTTPS Deployment
- name: Deploy RainLoop
hosts: mailserver
become: yes
vars:
- rainloop_ensure_latest: true
- apache_remove_default_vhost: true
- apache_vhosts:
- servername: domain.example.com
documentroot: /var/www/html
extra_parameters: |
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
- apache_vhosts_ssl:
- servername: domain.example.com
documentroot: /var/www/rainloop
certificate_file: /path/to/certificate
certificate_key_file: /path/to/key
certificate_chain_file: /path/to/chain
- php_packages:
- php7.0
- php7.0-cli
- php7.0-common
- php7.0-curl
- php7.0-gd
- php7.0-json
- php7.0-mysql
- php7.0-xml
- libapache2-mod-php7.0
roles:
- mprahl.rainloop
Installa
ansible-galaxy install mprahl.rainloop
Licenza
Unknown
Download
30.4k
Proprietario