mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-26 15:13:20 +02:00
21 lines
417 B
YAML
21 lines
417 B
YAML
---
|
|
|
|
- name: Install packages
|
|
package: name={{ linsat_packages }}
|
|
tags: drbd
|
|
|
|
- name: Customize satellite service
|
|
copy:
|
|
content: |
|
|
[Service]
|
|
Type=notify
|
|
dest: /etc/systemd/system/linstor-satellite.service.d/99-ansible.conf
|
|
notify: restart linstor-satellite
|
|
register: linsat_unit
|
|
tags: drbd
|
|
|
|
- name: Reload systemd
|
|
systemd: daemon_reload=True
|
|
when: linsat_unit.changed
|
|
tags: drbd
|