- texlive-luatex
- texlive-plain-generic
-- name: Clone repo.
+- name: Clone repo
ansible.builtin.git:
dest: /var/www/kivitendo-erp
repo: "{{ fsit_smgt_kivi_customer_repo }}"
version: "{{ fsit_smgt_kivi_customer_version }}"
-- name: Copy over Kivitendo.conf.
- ansible.builtin.copy:
- src: files/kivitendo/kivitendo.conf
+- name: Copy over Kivitendo.conf
+ ansible.builtin.template:
+ src: kivi_kivitendo.conf.j2
dest: /var/www/kivitendo-erp/config/kivitendo.conf
owner: www-data
mode: 'u=rw,g=rw,o='
notify: Restart apache
-- name: Make webdav directory.
+- name: Make webdav directory
ansible.builtin.file:
path: /var/www/kivitendo-erp/webdav
state: directory
mode: 'u=Xrw,g=Xrw,o='
-- name: Make kivi_documents directory.
+- name: Make kivi_documents directory
ansible.builtin.file:
path: /var/www/kivitendo-erp/kivi_documents
state: directory
mode: 'u=Xrw,g=Xrw,o='
-- name: Change permissions.
+- name: Change permissions
ansible.builtin.file:
owner: www-data
path: "/var/www/kivitendo-erp/{{ item }}"
databases: all
method: peer
-- name: Allow access from localhost to Postgresql.
+- name: Allow access from localhost to Postgresql
ansible.builtin.postgresql_pg_hba:
dest: /etc/postgresql/17/main/pg_hba.conf
contype: host
notify: Restart postgresql
# apache server for kivi
-- name: Activate apache fastcgi, headers and ssl modules.
+- name: Activate apache fastcgi, headers and ssl modules
community.general.apache2_module:
state: present
name: "{{ item }}"