mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-04 07:37:20 +02:00
Update to 2022-08-19 16:00
This commit is contained in:
22
roles/linstor_gateway/tasks/install.yml
Normal file
22
roles/linstor_gateway/tasks/install.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
|
||||
- name: Install linstor-gateway
|
||||
get_url:
|
||||
url: "{{ linsat_gateway_url }}"
|
||||
dest: /usr/local/bin/linstor-gateway
|
||||
checksum: sha256:{{ linsat_gateway_sha256 }}
|
||||
mode: 755
|
||||
when: lingw_install_mode != 'none'
|
||||
tags: drbd
|
||||
|
||||
- name: Install linstor-gateway service unit
|
||||
template: src=linstor-gateway.service.j2 dest=/etc/systemd/system/linstor-gateway.service
|
||||
notify: restart linstor-gateway
|
||||
register: lingw_unit
|
||||
tags: drbd
|
||||
|
||||
- name: Reload systemd
|
||||
systemd: daemon_reload=True
|
||||
when: lingw_unit.changed
|
||||
tags: drbd
|
||||
|
Reference in New Issue
Block a user