aboutsummaryrefslogblamecommitdiffstats
path: root/roles/rc/tasks/rc_openbsd.yml
blob: ca566ba9d7518024b6df2529dd149e725216f50a (plain) (tree)
1
2
3
4
5
6
7
8
9







                                              
                                          

       
                                          
                            
                             
              
 

# openrc ~~ tasks/main.yml

---

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

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

remember that computers suck.