feat: add atuin client unarchive
This commit is contained in:
parent
2e379a0626
commit
103e4b6c8a
1 changed files with 17 additions and 2 deletions
|
|
@ -15,8 +15,23 @@
|
|||
state: "absent"
|
||||
when: "atuin_version not in atuin_version_check.stdout"
|
||||
|
||||
# install atuin
|
||||
- name: "install atuin"
|
||||
# install atuin client
|
||||
- name: "install atuin client"
|
||||
ansible.builtin.unarchive:
|
||||
src:
|
||||
"https://github.com/atuinsh/atuin/releases/download/\
|
||||
v{{ atuin_version }}/atuin-x86_64-unknown-linux-gnu.tar.gz"
|
||||
dest: "/usr/local/bin/"
|
||||
include: "atuin-x86_64-unknown-linux-gnu/atuin"
|
||||
extra_opts: ["--strip-components=1"]
|
||||
owner: "root"
|
||||
group: "root"
|
||||
mode: "0755"
|
||||
remote_src: true
|
||||
when: "atuin_version not in atuin_version_check.stdout"
|
||||
|
||||
# install atuin server
|
||||
- name: "install atuin server"
|
||||
ansible.builtin.unarchive:
|
||||
src:
|
||||
"https://github.com/atuinsh/atuin/releases/download/\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue