-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsite.yml
More file actions
29 lines (26 loc) · 749 Bytes
/
Copy pathsite.yml
File metadata and controls
29 lines (26 loc) · 749 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# This is the main Playbook, it ties all roles together
# This Playbook will setup everything that Nextcloud needs to function
---
- name: Setup Nextcloud
hosts: nextcloud
become: true
gather_facts: true
roles: # will run trough the scripties in each role
- common_server_settings
- mariadb
- redis
- php
- apache2
- certbot
- nextcloud_setup
- nextcloud_backup
- coturn
- collabora
tasks:
- name: Sends out a msg about if the deployment of Nextcloud was successful
ansible.builtin.debug:
msg: "Nextcloud is functioning"
# Check playbook syntax:
# ansible-playbook -i inventory.ini --syntax-check site.yml
# How to run the playbook:
# ansible-playbook -i inventory.ini site.yml