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 
18 
19 
20 
---

- name: "Create systemd-service file for mbusd"
  template:
    src: mbusd.service.j2
    dest: /etc/systemd/system/mbusd.service
    mode: "0755"
    owner: root
    group: root
  notify: "Restart mbusd"
  when: 
    - ansible_service_mgr == "systemd"

- name: "Generate file: /etc/mbusd.conf"
  template:
    src: mbusd.conf.j2
    dest: "/etc/mbusd.conf"
    owner:  root
    group: root
  notify: "Restart mbusd"