26 lines
763 B
YAML
26 lines
763 B
YAML
---
|
|
- name: Install Icinga Web 2 Business Process module
|
|
ansible.builtin.apt:
|
|
name: icingaweb2-module-businessprocess
|
|
state: latest
|
|
|
|
- name: Ensure BPM process directory exists
|
|
ansible.builtin.file:
|
|
path: /etc/icingaweb2/modules/businessprocess/processes
|
|
state: directory
|
|
owner: www-data
|
|
group: icingaweb2
|
|
mode: '2770'
|
|
|
|
- name: Enable Business Process module
|
|
ansible.builtin.command: icingacli module enable businessprocess
|
|
args:
|
|
creates: /etc/icingaweb2/enabledModules/businessprocess
|
|
|
|
- name: Deploy starter BPM process
|
|
ansible.builtin.template:
|
|
src: chezlepro-infra.conf.j2
|
|
dest: /etc/icingaweb2/modules/businessprocess/processes/chezlepro-infra.conf
|
|
owner: www-data
|
|
group: icingaweb2
|
|
mode: '0660'
|