https://github.com/paulrbr/ansible-owncloud
Simple Ansible playbook to setup an Owncloud instance
https://github.com/paulrbr/ansible-owncloud
ansible owncloud
Last synced: about 1 year ago
JSON representation
Simple Ansible playbook to setup an Owncloud instance
- Host: GitHub
- URL: https://github.com/paulrbr/ansible-owncloud
- Owner: paulRbr
- License: mit
- Created: 2016-11-13T17:26:12.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-03T23:13:36.000Z (over 9 years ago)
- Last Synced: 2024-10-12T10:44:42.548Z (over 1 year ago)
- Topics: ansible, owncloud
- Language: Makefile
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Ansible playbook to setup your Owncloud instance
This repo contains a `setup.yml` playbook to setup:
* An nginx webserver serving traffic in https (thanks to a let's encrypt SSL cert)
* A PostgreSQL database
* A php-fpm application server with the [Owncloud](https://owncloud.org/) code base
The best way to use it is to fork it and adapt it for your own hosts infrastructure.
## Dependencies
Roles are all taken from Ansible's public galaxy repositories. They are described in the `requirements.yml` file:
* nginx
* php-fpm
* postgresql
* cerbot
Install dependencies by
make install
## Prepare
You will need to change mainly two things:
* your `hosts` inventory to target your own hosts.
```
edit hosts
```
* adapt the related `host_vars`. Typically the postgresql admin password.
## Secrets
I personnaly manage secrets thanks to [`pass`](https://www.passwordstore.org/) so the password is automatically taken from my store using the `pass-hosts.sh` script.
In order to vault your secrets you will thus need to adapt this file to output your vault passphrase
edit pass-hosts.sh
## Run
You can now setup everything by simply calling:
make run playbook=setup
## License
See [MIT License file](https://gitlab.com/paulrbr/ansible-owncloud-setup/blob/master/LICENSE)