blob: 7b4c66599a3bc2bbcd85c499ddcc364f93888ad7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
---
- name: install packages
apt:
name:
- nginx
- python-docker
- systemd-docker
state: present
- name: remove nginx default config
file:
name: /etc/nginx/sites-enabled/default
state: absent
notify: restart nginx
- name: install nginx config
template:
src: nextcloud-nginx.conf.j2
dest: /etc/nginx/sites-enabled/nextcloud
notify: restart nginx
- name: install and configure nextcloud
import_tasks: nextcloud.yml
|