ansible/server.yml
2021-04-22 09:44:46 +02:00

56 lines
1.1 KiB
YAML

---
- hosts: server
pre_tasks:
- name: install terminfo
pacman:
state: present
name:
- termite-terminfo
become: true
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-bitwardenrs
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