ansible/playbooks/server.yml
vincent dee0465359
Some checks failed
continuous-integration/drone/push Build is failing
add copy ssl certificate
2022-02-20 15:15:49 +01:00

51 lines
1.1 KiB
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: ansible-copySSLCertificate
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