feat: improved install method

This commit is contained in:
Simon Cornet 2025-07-17 13:44:43 +02:00
commit 4a19ae84a8

View file

@ -22,7 +22,6 @@
group: "root"
mode: "0775"
when: "atuin_version not in atuin_version_check.stdout"
register: "atuin_download"
# install atuin
- name: "install atuin"
@ -34,7 +33,7 @@
group: "root"
mode: "0755"
remote_src: true
when: "atuin_download.changed"
when: "atuin_version not in atuin_version_check.stdout"
# install systemd service
- name: "install service"
@ -51,4 +50,4 @@
ansible.builtin.file:
path: "/tmp/atuin-x86_64-unknown-linux-gnu.tar.gz"
state: "absent"
when: "atuin_download.changed"
when: "atuin_version not in atuin_version_check.stdout"