mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-06 16:46:54 +02:00
Update to 2022-08-19 16:00
This commit is contained in:
20
roles/linstor_satellite/tasks/install.yml
Normal file
20
roles/linstor_satellite/tasks/install.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
|
||||
- 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
|
Reference in New Issue
Block a user