38 lines
865 B
YAML
38 lines
865 B
YAML
---
|
|
- hosts: server
|
|
vars:
|
|
# certbot_force: true
|
|
roles:
|
|
- role: ansible-role-chisel
|
|
become: true
|
|
- syncthing
|
|
- msmtp
|
|
- cronie
|
|
- rsyncd
|
|
- gandi-dyn-dns
|
|
- fail2ban
|
|
- role: ansible-role-certbot
|
|
become: true # need to have a external connection on 80
|
|
- role: ansible-rsync-certs
|
|
become: true # need to have a external connection on 80
|
|
- role: nginx
|
|
become: true
|
|
- role: ansible-role-postgresql
|
|
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
|