Bump Vicinae to v0.16.12 and adjust launch
- Update vicinae_version and vicinae_appimage_commit - Change ExecStart to run "vicinae server" - Add systemd task to enable and start the user service and reload the systemd daemon - Use "vicinae version" for verification and update failure message
This commit is contained in:
@@ -3,8 +3,8 @@
|
|||||||
block:
|
block:
|
||||||
- name: Set Vicinae version
|
- name: Set Vicinae version
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
vicinae_version: "v0.15.6"
|
vicinae_version: "v0.16.12"
|
||||||
vicinae_appimage_commit: "13865b4c5"
|
vicinae_appimage_commit: "b2b13cd4c"
|
||||||
|
|
||||||
- name: Set architecture-specific variables
|
- name: Set architecture-specific variables
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
@@ -74,7 +74,7 @@
|
|||||||
ansible.builtin.replace:
|
ansible.builtin.replace:
|
||||||
path: "/usr/lib/systemd/user/vicinae.service"
|
path: "/usr/lib/systemd/user/vicinae.service"
|
||||||
regexp: "ExecStart=.*"
|
regexp: "ExecStart=.*"
|
||||||
replace: "ExecStart=/usr/local/bin/vicinae"
|
replace: "ExecStart=/usr/local/bin/vicinae server"
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: Ensure applications directory exists
|
- name: Ensure applications directory exists
|
||||||
@@ -148,6 +148,14 @@
|
|||||||
changed_when: false
|
changed_when: false
|
||||||
failed_when: false
|
failed_when: false
|
||||||
|
|
||||||
|
- name: Enable and start Vicinae service
|
||||||
|
ansible.builtin.systemd:
|
||||||
|
name: vicinae
|
||||||
|
state: started
|
||||||
|
enabled: true
|
||||||
|
scope: user
|
||||||
|
daemon_reload: true
|
||||||
|
|
||||||
- name: Clean up temporary directory
|
- name: Clean up temporary directory
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ vicinae_temp_dir.path }}"
|
path: "{{ vicinae_temp_dir.path }}"
|
||||||
@@ -155,7 +163,7 @@
|
|||||||
|
|
||||||
- name: Verify Vicinae installation
|
- name: Verify Vicinae installation
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
cmd: /usr/local/bin/vicinae --version
|
cmd: /usr/local/bin/vicinae version
|
||||||
register: vicinae_version_check
|
register: vicinae_version_check
|
||||||
changed_when: false
|
changed_when: false
|
||||||
failed_when: false
|
failed_when: false
|
||||||
@@ -168,7 +176,7 @@
|
|||||||
Version: {{ vicinae_version_check.stdout }}
|
Version: {{ vicinae_version_check.stdout }}
|
||||||
{% else %}
|
{% else %}
|
||||||
✗ Vicinae installation completed but version check failed.
|
✗ Vicinae installation completed but version check failed.
|
||||||
This may be normal if --version flag is not supported.
|
This may be normal if version command is not supported.
|
||||||
Try running: vicinae
|
Try running: vicinae
|
||||||
{% endif %}
|
{% endif %}
|
||||||
tags:
|
tags:
|
||||||
|
|||||||
Reference in New Issue
Block a user