aboutsummaryrefslogblamecommitdiffstats
path: root/roles/rc/tasks/main.yml
blob: 4fabd4876d5636ecccda3b33f0f8fcae395551a1 (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_error: true

remember that computers suck.