aboutsummaryrefslogtreecommitdiffstats
path: root/roles/relayd/tasks/main.yml
blob: 14df1926234e27a0030ba247df143da51da584a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
- name: generate relayd configuration
  template:
    src: relayd.conf.j2
    dest: "{{ relayd_configuration_file }}"

- name: verify relayd configuration
  command: "relayd -nf {{ relayd_configuration_file }}"

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