infra-role-tinc/tasks/service.yml

8 lines
203 B
YAML

---
- name: Make sure the service is enabled and restarted
tags: ['role::tinc', 'role::tinc:service']
service:
name: 'tinc@{{ tinc_network_name }}.service'
state: restarted
enabled: true