aboutsummaryrefslogtreecommitdiffstats
path: root/roles/rc/tasks/rc_openbsd.yml
blob: 2055de0799bba92e926c97ed51525eb1cfff8899 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

# openrc ~~ tasks/main.yml

---

- name: Generate rc script for desired service
  template:
    src: rc_openbsd.j2
    dest: "{{ rc_openbsd_dir }}/{{ rc_name }}"

- file:
    path: "{{ rc_openbsd_dir }}/{{ rc_name }}"
    owner: "{{ user_root }}"
    group: "{{ group_root }}"
    mode: 0555

remember that computers suck.