Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

bleetube/ansible-role-nextcloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role: nextcloud

This Ansible Role installs a rootless Nextcloud container using Podman. It is intended to be composed with separate roles for Podman, database, and web proxy.

Requirements

Dependencies

Role Variables

See the role defaults and the Nextcloud environment variable documentation. For a working example, see this homelab stack.

Example Playbook

- hosts: nextcloud
  become: true
  roles:
    - role: nginxinc.nginx_core.nginx
    - role: fauust.mariadb
    - role: alvistack.podman
    - role: bleetube.redis
    - role: bleetube.nextcloud
      become: false
  tasks:
    - import_tasks: nginx_conf.yml

Systemd

systemctl --user status container-nextcloud.service

Upgrades

Configure nextcloud_version.

ansible-playbook playbooks/nextcloud.yml --tags nextcloud
podman exec -it -u www-data nextcloud /var/www/html/occ app:update --all
podman exec -it -u www-data nextcloud /var/www/html/occ upgrade

Backups

See the postgres example.

Monitoring

TODO

Resources

Thanks

Based on the original role created by Joerg Kastning. Thank you!

About

Install Nextcloud Podman container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages