mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-04 07:37:20 +02:00
Update to 2022-08-29 11:00
This commit is contained in:
26
roles/linstor_controller/tasks/conf.yml
Normal file
26
roles/linstor_controller/tasks/conf.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
|
||||
- name: Deploy linstor-controller conf
|
||||
template: src=linstor.toml.j2 dest=/etc/linstor/linstor.toml mode=640
|
||||
notify: restart linstor-controller
|
||||
tags: drbd
|
||||
|
||||
- name: Deploy linstor-client configuration
|
||||
template: src=linstor-client.conf.j2 dest=/etc/linstor/linstor-client.conf
|
||||
tags: drbd
|
||||
|
||||
- name: Setup logrotate
|
||||
template: src=logrotate.j2 dest=/etc/logrotate.d/linstor-controller
|
||||
tags: drbd
|
||||
|
||||
- name: Remove old reactor conf
|
||||
file: path=/etc/drbd-reactor.d/linstor_db.toml state=absent
|
||||
notify: restart drbd-reactor
|
||||
tags: drbd
|
||||
|
||||
- when: linctl_ha
|
||||
name: Configure the drbd-reactor promoter
|
||||
template: src=drbd-reactor.toml.j2 dest=/etc/drbd-reactor.d/linstor-controller.toml
|
||||
notify: restart drbd-reactor
|
||||
tags: drbd
|
||||
|
Reference in New Issue
Block a user