aboutsummaryrefslogtreecommitdiffstats
path: root/roles/relayd/tasks/main.yml
blob: 35b456d4698f248af61447452ce0071e1c2618f2 (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.