Commit 4a19ae84 authored by Simon Cornet's avatar Simon Cornet
Browse files

feat: improved install method

parent 941f98c8
Loading
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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"