buluma.owncloud
Ansible role owncloud
This role allows you to install and set up OwnCloud on your system.
GitHub | Version | Issues | Pull Requests | Downloads |
---|---|---|---|---|
Example Playbook
The following playbook is from molecule/default/converge.yml
and is tested with every update, pull request, and release.
---
- name: Converge
hosts: all
become: yes
gather_facts: yes
roles:
- role: buluma.owncloud
Make sure your machine is ready. In CI, this is done with molecule/default/prepare.yml
:
---
- name: Prepare
hosts: all
become: yes
gather_facts: no
roles:
- role: buluma.bootstrap
- role: buluma.core_dependencies
- role: buluma.cron
- role: buluma.buildtools
- role: buluma.epel
- role: buluma.python_pip
- role: buluma.openssl
openssl_items:
- name: apache-httpd
common_name: "{{ ansible_fqdn }}"
- role: buluma.selinux
- role: buluma.httpd
- role: buluma.redis
- role: buluma.remi
remi_enabled_repositories:
- php73
when:
- ansible_distribution != "Fedora"
- role: buluma.php
- role: buluma.php_fpm
- role: buluma.mysql
mysql_databases:
- name: owncloud
encoding: utf8
collation: utf8_bin
mysql_users:
- name: owncloud
password: 0wnCl0uD
priv: "owncloud.*:ALL"
You can also read this full explanation and example on how to use these roles.
Role Variables
Default values for the variables can be found in defaults/main.yml
:
---
# defaults file for owncloud
# The version of OwnCloud to install.
owncloud_version: "10.11.0"
# The domain for this server. For example:
# "localhost" or "owncloud.example.com". Does not include the protocol,
# (https://) or directories. (/owncloud)
owncloud_domain_url: "{{ ansible_default_ipv4.address | default(ansible_all_ipv4_addresses[0]) }}"
# Database connection details.
owncloud_database_name: owncloud
owncloud_database_user: owncloud
owncloud_database_pass: 0wnCl0uD
owncloud_database_host: "127.0.0.1"
owncloud_admin_user: admin
owncloud_admin_pass: OwnCl0uD
Requirements
- Python packages listed in requirements.txt.
State of Used Roles
Here are the roles used to prepare a system. You can set up your system differently.
Context
This role is one of many that work together. Check out the documentation for these roles for more details.
Here’s a visual guide to related roles:
Compatibility
This role has been tested with these Docker images:
container | tags |
---|---|
Debian | bullseye |
opensuse | all |
Ubuntu | focal |
You need Ansible version 2.12 or higher. The tests have been run on:
- Previous versions.
- The latest version.
- The development version.
If you encounter any issues, please report them on GitHub.
Changelog
For a history of changes, see Role History.
License
This project is licensed under Apache-2.0.
Author Information
This role was created by Shadow Walker.
ansible-galaxy install buluma.owncloud