ansible/server.yml

56 lines
1.1 KiB
YAML
Raw Normal View History

2018-11-29 21:51:39 +00:00
---
- hosts: server
2020-01-27 19:08:22 +00:00
pre_tasks:
2021-04-22 07:15:26 +00:00
- name: install terminfo
pacman:
state: present
name:
- termite-terminfo
become: true
2021-02-28 20:31:03 +00:00
vars:
2021-04-22 07:15:26 +00:00
# certbot_force: true
2018-11-29 21:51:39 +00:00
roles:
2021-04-22 07:15:26 +00:00
- 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
2019-04-14 09:46:12 +00:00
2020-12-14 19:21:45 +00:00
tasks:
2021-04-22 07:15:26 +00:00
- 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