ansible/playbooks/server.yml
2021-11-14 15:17:02 +01:00

49 lines
1005 B
YAML

---
- hosts: server
vars:
# certbot_force: true
roles:
- role: ansible-role-chisel
become: true
- syncthing
- msmtp
- cronie
- rsyncd
- gandi-dyn-dns
- fail2ban
- ansible-pihole
- role: ansible-role-certbot
become: true # need to have a external connection on 80
- role: nginx
become: true
- role: ansible-role-postgresql
become: true
- role: radicale
become: true
- role: ansible-drone
become: true
- php
- nextcloud
- tt-rss
- gitea
- supysonic
- hass
- role: ansible-vaultwarden
become: true
- role: ansible-role-samba
become: true
- chainetv
- user_config
tasks:
- name: create paccache job for arch mirror
cron:
job: "find {{ arch_mirror_location }} -type d
-exec paccache -v -r -k 2 -c {} \\;"
user: "root"
name: "paccache job"
hour: "4"
minute: "0"
state: present
become: true