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 
21 
---

- name: "Generate config: /etc/smartied.json"
  template: 
    src: smartied.json.j2
    dest: /etc/smartied.json
    mode: 0755
  notify: "Restart smartied"

- name: "Create directory: /etc/systemd/system/smartied.service.d"
  file:
    state: directory
    dest: /etc/systemd/system/smartied.service.d
    mode: 0755

- name: Create systemd.service override for smartied
  copy:
    src: smartied.service-override.conf
    dest: /etc/systemd/system/smartied.service.d/override.conf
    mode: 0755
  notify: "Restart smartied"