aboutsummaryrefslogtreecommitdiffstats
path: root/roles/relayd/tasks/main.yml
blob: 039678970873a11a68c0ae26f08c2d784f62d12a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
- 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.