-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplaybook.yaml
48 lines (43 loc) · 1014 Bytes
/
playbook.yaml
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
- name: "Setting up the homeserver"
connection: local
hosts: localhost
# Become root user, which is needed for most tasks
become: yes
become_user: root
vars_files:
- vars/main.yaml
- vars/vault.yaml
roles:
- role: zfs
tags: zfs
- role: samba
tags: samba
- role: docker
tags: docker
- role: services
tags: service
- role: joplin-server
tags: joplin
- role: paperless-ngx
tags: paperless
- role: nextcloud
tags: nextcloud
- role: conflux-wallabag
tags: wallabag
pre_tasks:
- name: Run the equivalent of "apt-get update"
apt:
update_cache: true
changed_when: false
tasks:
- import_tasks: tasks/users.yaml
- name: Install important packages
apt:
name:
- avahi-daemon
- rclone
- unattended-upgrades
state: latest
cache_valid_time: 3600
tags: apt