mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2025-01-18 08:06:16 +01:00
17 lines
606 B
YAML
17 lines
606 B
YAML
- name: Install tempo
|
|
pacman: name=tempo state=present
|
|
|
|
- name: Open tempo ipv4 port for aur.archlinux.org
|
|
ansible.posix.firewalld: zone=wireguard state=enabled permanent=true immediate=yes
|
|
rich_rule="rule family=ipv4 source address={{ hostvars['aur.archlinux.org']['wireguard_address'] }} port protocol=tcp port=4318 accept"
|
|
tags:
|
|
- firewall
|
|
|
|
- name: Configure tempo
|
|
template: src=config.yml.j2 dest=/etc/tempo/config.yml owner=tempo group=tempo mode=0644
|
|
notify:
|
|
- Restart tempo
|
|
|
|
- name: Enable tempo server service
|
|
systemd: name=tempo enabled=yes daemon_reload=yes state=started
|