aboutsummaryrefslogblamecommitdiffstats
path: root/roles/rc/tasks/main.yml
blob: 8ba98aa38f5b28872b404c6aab2750e4327f14cf (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13




                          







                                               
                     
 

# openrc ~~ tasks/main.yml

---

- name: include rc task per-system
  include_tasks: "rc_{{ os_distribution }}.yml"

- name: start and enable service on boot
  service:
    name: "{{ rc_name }}"
    state: "{{ rc_state }}"
    enabled: "{{ rc_enable }}"
  ignore_errors: true

remember that computers suck.