ctucx.git: ansible-configs

My personal ansible roles and playbooks [deprecated in favor of nixos]

1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 
---

- name: "[OpenRC] Enable and start service: fritzbox-exporter"
  service:
    name: fritzbox-exporter
    enabled: yes
    state: started
  when: 
    - ansible_service_mgr == "openrc"

- name: "[systemd] Enable and start service: fritzbox-exporter"
  systemd:
    name: fritzbox-exporter
    enabled: yes
    state: started
  when: 
    - ansible_service_mgr == "systemd"