feat: improved install method
This commit is contained in:
parent
941f98c8d5
commit
4a19ae84a8
1 changed files with 2 additions and 3 deletions
|
|
@ -22,7 +22,6 @@
|
||||||
group: "root"
|
group: "root"
|
||||||
mode: "0775"
|
mode: "0775"
|
||||||
when: "atuin_version not in atuin_version_check.stdout"
|
when: "atuin_version not in atuin_version_check.stdout"
|
||||||
register: "atuin_download"
|
|
||||||
|
|
||||||
# install atuin
|
# install atuin
|
||||||
- name: "install atuin"
|
- name: "install atuin"
|
||||||
|
|
@ -34,7 +33,7 @@
|
||||||
group: "root"
|
group: "root"
|
||||||
mode: "0755"
|
mode: "0755"
|
||||||
remote_src: true
|
remote_src: true
|
||||||
when: "atuin_download.changed"
|
when: "atuin_version not in atuin_version_check.stdout"
|
||||||
|
|
||||||
# install systemd service
|
# install systemd service
|
||||||
- name: "install service"
|
- name: "install service"
|
||||||
|
|
@ -51,4 +50,4 @@
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "/tmp/atuin-x86_64-unknown-linux-gnu.tar.gz"
|
path: "/tmp/atuin-x86_64-unknown-linux-gnu.tar.gz"
|
||||||
state: "absent"
|
state: "absent"
|
||||||
when: "atuin_download.changed"
|
when: "atuin_version not in atuin_version_check.stdout"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue