From 4a19ae84a85a8fea71c72d1f94222f35cc154294 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Thu, 17 Jul 2025 13:44:43 +0200 Subject: [PATCH] feat: improved install method --- tasks/install.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tasks/install.yaml b/tasks/install.yaml index 49b7347..01651c5 100644 --- a/tasks/install.yaml +++ b/tasks/install.yaml @@ -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"