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

# relayd ~~ tasks/main.yml

---

- name: generate relayd configuration
  template:
    src: templates/relayd.conf.j2
    dest: /etc/relayd.conf

- name: verify relayd configuration
  shell: relayd -n

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