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 
22 
23 
24 
25 
26 
27 
28 
29 
30 
31 
32 
33 
34 
35 
---

- name: "Generate file: /etc/radicale/config" 
  template:
    src: radicale.conf.j2
    dest: /etc/radicale/config
    mode: 0640
    owner: root
    group: radicale
  notify: "Restart radicale"

- name: "Create file: /etc/radicale/users"
  copy:
    content: "{{ services.radicale.users }}"
    dest: /etc/radicale/users
    mode: 0640
    owner: root
    group: radicale
  notify: "Restart radicale"

- name: "Download InfCloud 0.13 to webapps-directory"
  unarchive:
    src: https://www.inf-it.com/InfCloud_0.13.1.zip
    dest: /usr/share/webapps
    remote_src: yes
    mode: 0755
    owner: root
    group: root
  changed_when: false

- name: "Copy InfCloud-config to: /usr/share/webapps/infcloud/config.js"
  copy:
    src: infcloud-config.js
    dest: /usr/share/webapps/infcloud/config.js
  changed_when: false