Kris Lamoureux
81d2ea447a
- Added development "mediaserver" playbook for testing - rm .gitignore in roles dir since no external ansible roles are used - Update a part of the base role to use FQCN for linting - Added "jellyfin" role to install Jellyfin with docker-compose - Updated Traefik to use the loopback for default web entry points - Simplified Traefik docker-compose vars, Ansible sets defaults
25 lines
517 B
YAML
25 lines
517 B
YAML
- name: Reboot host
|
|
ansible.builtin.reboot:
|
|
msg: "Reboot initiated by Ansible"
|
|
connect_timeout: 5
|
|
listen: reboot_host
|
|
when: allow_reboot
|
|
|
|
- name: Restart WireGuard
|
|
ansible.builtin.service:
|
|
name: wg-quick@wg0
|
|
state: restarted
|
|
listen: restart_wireguard
|
|
|
|
- name: Restart Fail2ban
|
|
ansible.builtin.service:
|
|
name: fail2ban
|
|
state: restarted
|
|
listen: restart_fail2ban
|
|
|
|
- name: Restart ddclient
|
|
ansible.builtin.service:
|
|
name: ddclient
|
|
state: restarted
|
|
listen: restart_ddclient
|