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:
2025-12-11 11:44:25 +01:00
parent e321a2faa0
commit d6c54b7e1a

View File

@@ -3,8 +3,8 @@
block:
- name: Set Vicinae version
ansible.builtin.set_fact:
vicinae_version: "v0.15.6"
vicinae_appimage_commit: "13865b4c5"
vicinae_version: "v0.16.12"
vicinae_appimage_commit: "b2b13cd4c"
- name: Set architecture-specific variables
ansible.builtin.set_fact:
@@ -74,7 +74,7 @@
ansible.builtin.replace:
path: "/usr/lib/systemd/user/vicinae.service"
regexp: "ExecStart=.*"
replace: "ExecStart=/usr/local/bin/vicinae"
replace: "ExecStart=/usr/local/bin/vicinae server"
become: true
- name: Ensure applications directory exists
@@ -148,6 +148,14 @@
changed_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
ansible.builtin.file:
path: "{{ vicinae_temp_dir.path }}"
@@ -155,7 +163,7 @@
- name: Verify Vicinae installation
ansible.builtin.command:
cmd: /usr/local/bin/vicinae --version
cmd: /usr/local/bin/vicinae version
register: vicinae_version_check
changed_when: false
failed_when: false
@@ -168,7 +176,7 @@
Version: {{ vicinae_version_check.stdout }}
{% else %}
✗ 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
{% endif %}
tags: