aboutsummaryrefslogtreecommitdiffstats
path: root/roles/relayd/tasks/main.yml
blob: d848da02afe02bd36d405b334b6bf13fba8f8811 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---

- name: generate relayd configuration
  ansible.builtin.template:
    src: relayd.conf.j2
    dest: "{{ relayd_configuration_file }}"
    owner: 0
    group: 0
    mode: "0640"
  notify: lint relayd configuration

- name: enable and restart relayd
  ansible.builtin.service:
    name: relayd
    state: restarted
    enabled: true
remember that computers suck.