• Stars
    star
    130
  • Rank 267,638 (Top 6 %)
  • Language Jinja
  • License
    BSD 2-Clause "Sim...
  • Created over 7 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The ansible galaxy for your nextcloud administrative needs.

Lint status Tests for all supported versions Tests for latest

Ansible collection for nextcloud administration

This repository hosts the nextcloud.admin Ansible Collection (formerly the role aalaesar.install_nextcloud).

The collection includes a variety of Ansible content to help automate the management of nextcloud, as well as provisioning and maintenance of instances of nextcloud.

Ansible version compatibility

This collection has been tested against following Ansible versions: >=2.11.0.

Plugins and modules within a collection may be tested with only specific Ansible versions.

Python Support

  • Collection tested on 3.11+

Supported nextcloud version

This collection supports Nextcloud versions: 25, 26, 27 (latest)

Included content

Modules

Name Description
nextcloud.admin.run_occ Run the occ command line tool with given arguments

Roles

Name Description
nextcloud.admin.backup (beta) Create a backup of a Nextcloud server - formerly aalaesar.backup_nextcloud
nextcloud.admin.install_nextcloud Install and configure an Nextcloud instance for a Debian/Ubuntu server - formerly aalaesar.install_nextcloud

Installation and Usage

Dependencies

netaddr Python Library

Content in this collection requires the network address manipulation library to manipulate network address. You can install it with:

    pip3 install netaddr

required standalone roles

By default, some roles in this collection are dependant of standalone roles from other namespaces. (this can be disabled).

Due to some limitations, ansible-galaxy does not install them automatically, them need to be installed afterward.

Once the collection is installed, run the command ansible-galaxy role install -r <this_collection_folder>/requirements.yml.

Alternatively, you can also add the content of this file in your own requirements.yml file prior to installing the collection

Installing the Collection from Ansible Galaxy

Before using the nextcloud collection, you need to install it with the Ansible Galaxy CLI:

ansible-galaxy collection install nextcloud.admin

You can also include it in a requirements.yml file and install it via ansible-galaxy collection install -r requirements.yml, using the format:

---
collections:
  - name: nextcloud.admin
    version: 2.0.0

Using modules from the Nextcloud Collection in your playbooks

It's preferable to use content in this collection using their Fully Qualified Collection Namespace (FQCN), for example nextcloud.admin.run_occ:

---
- hosts: nextcloud_host
  gather_facts: false
  become: true
  tasks:
    - name: list installed apps
      nextcloud.admin.run_occ:
        nextcloud_path: /var/www/nextcloud
        command: app:list

If upgrading older playbooks from <2.0.0, you can minimise your changes by defining collections in your play and refer to this collection's role as install_nextcloud, instead of nextcloud.admin.install_nextcloud, as in this example:

---
- hosts: localhost
  gather_facts: false
  connection: local

  collections:
    - nextcloud.admin

  tasks:
    - name: deploy nextcloud and dependencies
      include_role:
        name: install_nextcloud
        # previously:
        # name: aalaesar.install_nextcloud

For documentation on how to use:

  • individual modules: please use ansible-doc command after installing this collection.
  • included roles: as per ansible standard, ansible role are documented in their own README file.

Testing and Development

If you want to develop new content for this collection or improve what's already here, the easiest way to work on the collection is to clone it into one of the configured COLLECTIONS_PATHS, and work on it there.

Testing with molecule

The tests directory contains playbooks for running integration tests on various scenarios. There are also integration tests in the molecule directory

Publishing New Versions

Releases are automatically built and pushed to Ansible Galaxy for any new tag.

License

BSD

See LICENCE to see the full text.

More Repositories

1

server

☁️ Nextcloud server, a safe home for all your data
PHP
23,691
star
2

docker

⛴ Docker image of Nextcloud
Shell
5,429
star
3

all-in-one

📦 The official Nextcloud installation method. Provides easy deployment and maintenance with most features included in this one Nextcloud instance.
PHP
3,965
star
4

android

📱 Nextcloud Android app
Java
3,848
star
5

desktop

💻 Desktop sync client for Nextcloud
C++
2,770
star
6

nextcloudpi

📦 Build code for NextcloudPi: Raspberry Pi, Odroid, Rock64, curl installer...
Shell
2,380
star
7

ios

📱 Nextcloud iOS App
Swift
1,800
star
8

spreed

🗨️ Nextcloud Talk – chat, video & audio calls for Nextcloud
JavaScript
1,441
star
9

vm

💻☁📦 The Nextcloud VM (virtual machine appliance), Home/SME Server and scripts for RPi (4). Community developed and maintained.
Shell
1,252
star
10

deck

🗂 Kanban-style project & personal management tool for Nextcloud, similar to Trello
JavaScript
1,136
star
11

bookmarks

🔖 Bookmark app for Nextcloud
JavaScript
956
star
12

notes-android

✎ Android client for Nextcloud Notes app.
Java
896
star
13

calendar

📆 Calendar app for Nextcloud
JavaScript
887
star
14

mail

💌 Mail app for Nextcloud
JavaScript
788
star
15

news

📰 RSS/Atom feed reader
PHP
786
star
16

passman

🔐 Open source password manager with Nextcloud integration
JavaScript
769
star
17

news-android

📱🗞️ Android client for the Nextcloud news/feed reader app
Java
663
star
18

notes

✎ Distraction-free notes and writing
JavaScript
580
star
19

contacts

📇 Contacts app for Nextcloud
JavaScript
541
star
20

tasks

✅ Tasks app for Nextcloud
JavaScript
536
star
21

text

📑 Collaborative document editing using Markdown
JavaScript
500
star
22

cookbook

🍲 A library for all your recipes
HTML
492
star
23

photos

📸 Your memories under your control
JavaScript
481
star
24

maps

🌍🌏🌎 The whole world fits inside your cloud!
JavaScript
474
star
25

recognize

👁 👂 Smart media tagging for Nextcloud: recognizes faces, objects, landscapes, music genres
PHP
470
star
26

social

🎉 Social can be used for work, or to connect to the fediverse!
PHP
464
star
27

documentation

📘 Nextcloud documentation
JavaScript
464
star
28

talk-android

📱😀 Video & audio calls through Nextcloud on Android
Kotlin
461
star
29

previewgenerator

Nextcloud app to do preview generation in the background.
PHP
440
star
30

richdocuments

📑 Collabora Online for Nextcloud
JavaScript
336
star
31

forms

📝 Simple form & survey app for Nextcloud
JavaScript
301
star
32

twofactor_totp

🔑 Second factor TOTP (RFC 6238) provider for Nextcloud
JavaScript
265
star
33

helm

A community maintained helm chart for deploying Nextcloud on Kubernetes.
Smarty
263
star
34

groupfolders

📁👩‍👩‍👧‍👦 Admin-configured folders shared by everyone in a group. https://github.com/nextcloud-releases/groupfolders
PHP
262
star
35

appstore

🏪 App Store for Nextcloud
Python
262
star
36

end_to_end_encryption

🔐 Server API to support End-to-End Encryption
PHP
253
star
37

polls

🗳️ Polls app for Nextcloud
JavaScript
249
star
38

providers

community-maintained list of Nextcloud providers
213
star
39

nextcloud.com

🌏 Our website
PHP
207
star
40

notify_push

Update notifications for nextcloud clients
Rust
202
star
41

backup

Backup now. Restore later.
PHP
202
star
42

nextcloud-vue

🍱 Vue.js components for Nextcloud app development ✌ https://npmjs.org/@nextcloud/vue
Vue
198
star
43

client_theming

💻 Nextcloud themed desktop client - Moved over to https://github.com/nextcloud/desktop
Shell
197
star
44

fulltextsearch

🔍 Core of the full-text search framework for Nextcloud
PHP
197
star
45

ocsms

📱 Nextcloud/ownCloud PhoneSync server application
JavaScript
190
star
46

circles

👪 Create groups with other users on a Nextcloud instance and share with them
PHP
139
star
47

registration

User registration app for Nextcloud
JavaScript
134
star
48

cms_pico

🗃 Integrate Pico CMS and let your users manage their own websites
PHP
127
star
49

talk-ios

📱😀 Video & audio calls through Nextcloud on iOS
Objective-C
123
star
50

documentserver_community

Document server for onlyoffice
PHP
122
star
51

tables

🍱 Nextcloud tables app
JavaScript
114
star
52

twofactor_u2f

🔑 U2F second factor provider for Nextcloud
JavaScript
113
star
53

passman-webextension

Webextension for the Passman Nextcloud app. Also offers browser extension & Android app.
JavaScript
111
star
54

talk-desktop

💬💻 Nextcloud Talk Desktop Client Preview
JavaScript
110
star
55

gallery

DEPRECATED Gallery app was replaced by Photos
JavaScript
110
star
56

twofactor_gateway

🔑 Second factor provider using an external messaging gateway (SMS, Telegram, Signal)
PHP
109
star
57

activity

⚡ Activity app for Nextcloud
JavaScript
108
star
58

external

🌐 Embed external sites in your Nextcloud
JavaScript
104
star
59

notifications

🔔 Notifications app for Nextcloud
PHP
102
star
60

user_external

👥 External user authentication methods like IMAP, SMB and FTP
PHP
101
star
61

news-updater

📰 Fast, parallel feed updater for the News app; written in Python
Python
100
star
62

neon

A framework for building convergent cross-platform Nextcloud clients using Flutter.
Dart
100
star
63

integration_google

🇬 Google integration into Nextcloud
JavaScript
98
star
64

nextcloud-filelink

✉️ 📤 "Nextcloud for Filelink" is a Thunderbird extension which makes it easy to send large attachments with Thunderbird by uploading them first to a Nextcloud server and by then inserting the link into the body of your email.
JavaScript
96
star
65

user_saml

🔒 App for authenticating Nextcloud users using SAML https://apps.nextcloud.com/apps/user_saml
PHP
93
star
66

files_videoplayer

📼 Old video viewer for Nextcloud
JavaScript
91
star
67

health

Nextcloud health app
JavaScript
89
star
68

passman-android

🔑 Android app for Passman.
C++
89
star
69

android-library

☎️ Nextcloud Android library
Java
85
star
70

serverinfo

📊 A monitoring app which creates a server info dashboard for admins
JavaScript
85
star
71

viewer

🖼 Simple file viewer with slideshow for media
JavaScript
83
star
72

unsplash

📸🔀☁️ Random Nextcloud log in background from Unsplash
JavaScript
82
star
73

files_pdfviewer

📖 A PDF viewer for Nextcloud
JavaScript
81
star
74

suspicious_login

Detect and warn about suspicious IPs logging into Nextcloud
PHP
80
star
75

fulltextsearch_elasticsearch

🔍 Use Elasticsearch to index the content of your Nextcloud
PHP
77
star
76

files_antivirus

👾 Antivirus app for Nextcloud Files
JavaScript
74
star
77

collectives

Collectives is a Nextcloud App for activist and community projects to organize together.
JavaScript
73
star
78

Android-SingleSignOn

Single sign-on for Nextcloud (Android Library Project)
Java
70
star
79

files_texteditor

📄 Text editor for plaintext files
JavaScript
69
star
80

user_oidc

OIDC connect user backend for Nextcloud
PHP
66
star
81

workflow_script

Rule based processing of files through specified external scripts
PHP
65
star
82

user_sql

🔒 App for authenticating Nextcloud users using SQL
PHP
65
star
83

files_rightclick

👉 Right click menu for Nextcloud
JavaScript
64
star
84

ransomware_protection

An app that prevents uploading files that have names that are linked to known ransomware
PHP
62
star
85

windows-universal

📱 Nextcloud Windows Mobile app
C#
58
star
86

dashboard

ARCHIVED, new Dashboard is in the server
PHP
58
star
87

security-advisories

👮 Security advisories of Nextcloud
PHP
55
star
88

integration_whiteboard

✏ A whiteboard for Nextcloud, using Spacedeck
PHP
53
star
89

files_automatedtagging

🔖 An app for Nextcloud that assigns tags to newly uploaded files based on some conditions
JavaScript
53
star
90

logreader

📜 Log reader for Nextcloud
JavaScript
52
star
91

calendar_resource_management

Resources back-end for the Nextcloud CalDAV server
PHP
52
star
92

impersonate

👻 Allow administrators to become a different user
JavaScript
52
star
93

cdav-library

📅 📇 CalDAV and CardDAV client library for JavaScript
JavaScript
51
star
94

integration_openproject

Integration of OpenProject project manager in Nextcloud
PHP
51
star
95

3rdparty

🔋 3rd party libraries that are needed to run Nextcloud
PHP
51
star
96

files_fulltextsearch

🔍 Index the content of your files
PHP
50
star
97

files_accesscontrol

🚫 App to manage access control for files
PHP
49
star
98

integration_github

🐙 GitHub integration into Nextcloud
JavaScript
49
star
99

strengthify

🔒🔍 Combine jQuery and zxcvbn to create a password strength meter
JavaScript
49
star
100

bruteforcesettings

🕵 Allow admins to configure the brute force settings
JavaScript
48
star