From 06b109eaee3bf96b2845d0a7e2add71c6940776b Mon Sep 17 00:00:00 2001 From: Andrew Coleman Date: Mon, 21 Jun 2021 07:55:42 -0400 Subject: [PATCH] add a bunch more packages --- dnf.yml | 2 +- go.yml | 37 +++++++++++++++++++++++++++++++++++++ pkg.yml | 2 +- rust.yml | 36 ++++++++++++++++++++++++++++++++++++ 4 files changed, 75 insertions(+), 2 deletions(-) diff --git a/dnf.yml b/dnf.yml index b38465b..8cdbc3f 100644 --- a/dnf.yml +++ b/dnf.yml @@ -4,7 +4,7 @@ become_user: root become_method: sudo dnf: - name: ShellCheck,alien,automake,awscli,bash-completion,bison,clang,cmake,curl,direnv,elfutils-libelf-devel,emacs,fakeroot,flex,fzf,gcc,gcc-c++,git,htop,httpie,jq,kernel-devel,libaio-devel,libblkid-devel,libffi-devel,libtirpc-devel,libtool,libudev-devel,libuuid-devel,libvirt-daemon-kvm,llvm,llvm-devel,llvm10,lsd,make,man-pages,most,nodejs,npm,openssh,openssh-clients,openssl-devel,openssl-perl,perl-FindBin,podman,qemu-kvm,skopeo,sqlite,sqlite-devel,tmux,uuid-devel,vim,which,zlib-devel + name: ShellCheck,alien,automake,awscli,bash-completion,bison,clang,cmake,curl,direnv,elfutils-libelf-devel,emacs,fakeroot,flex,fzf,gcc,gcc-c++,git,glances,htop,httpie,jq,kernel-devel,libaio-devel,libblkid-devel,libffi-devel,libtirpc-devel,libtool,libudev-devel,libuuid-devel,libvirt-daemon-kvm,llvm,llvm-devel,llvm10,lsd,make,man-pages,most,nodejs,npm,openssh,openssh-clients,openssl-devel,openssl-perl,perl-FindBin,podman,qemu-kvm,skopeo,sqlite,sqlite-devel,the_silver_searcher,tmux,uuid-devel,vim,which,zlib-devel state: present - name: add google-cloud-sdk repository diff --git a/go.yml b/go.yml index e51be6b..8046090 100644 --- a/go.yml +++ b/go.yml @@ -23,12 +23,49 @@ path: "{{ ansible_env.HOME }}/go/bin" mode: "0700" +- name: install cheat + command: go get -u github.com/cheat/cheat/cmd/cheat + args: + creates: "{{ ansible_env.HOME }}/go/bin/cheat" + +- name: install curlie + command: go get github.com/rs/curlie + args: + creates: "{{ ansible_env.HOME }}/go/bin/curlie" + - name: install judo command: go get github.com/rollcat/judo args: creates: "{{ ansible_env.HOME }}/go/bin/judo" +- name: install duf FreeBSD + become: yes + become_user: root + become_method: sudo + when: ansible_facts['system']|lower == 'freebsd' + community.general.pkgng: + name: duf + state: present + +- name: install duf Linux + when: ansible_facts['system']|lower == 'linux' + shell: curl -Lo duf.tar.gz https://github.com/muesli/duf/releases/download/v0.6.2/duf_0.6.2_linux_x86_64.tar.gz && tar xzf duf.tar.gz && install -m 755 duf ~/.local/bin/duf && rm -f duf.tar.gz duf README.md LICENSE + args: + warn: False + chdir: /tmp + creates: "{{ ansible_env.HOME }}/.local/bin/duf" + +- name: install gron + shell: go get -u github.com/tomnomnom/gron + args: + creates: "{{ ansible_env.HOME }}/go/bin/gron" + - name: install shfmt shell: GO111MODULE=on go get mvdan.cc/sh/v3/cmd/shfmt args: creates: "{{ ansible_env.HOME }}/go/bin/shfmt" + +- name: install jiq + shell: go get github.com/fiatjaf/jiq/cmd/jiq + args: + creates: "{{ ansible_env.HOME }}/go/bin/jiq" diff --git a/pkg.yml b/pkg.yml index 0ef85f5..f6c3a60 100644 --- a/pkg.yml +++ b/pkg.yml @@ -4,7 +4,7 @@ become_user: root become_method: sudo community.general.pkgng: - name: libtool,autogen,libuv,gettext,autoconf,automake,gmake,coreutils,bash,tmux,git,most,node,npm,cmake,llvm10,jq,gsed,lsd,httpie,fzf,direnv + name: libtool,autogen,libuv,gettext,autoconf,automake,gmake,coreutils,bash,the_silver_searcher,tmux,git,most,node,npm,cmake,llvm10,jq,gsed,lsd,httpie,fzf,direnv,py37-glances state: present - name: install desktop pkg applications diff --git a/rust.yml b/rust.yml index 7d4d8d5..b3c6638 100644 --- a/rust.yml +++ b/rust.yml @@ -10,6 +10,11 @@ args: creates: "{{ ansible_env.HOME }}/.cargo/bin/ambr" +- name: install atiun + command: cargo install atuin + args: + creates: "{{ ansible_env.HOME }}/.cargo/bin/atuin" + - name: install basic-http-server command: cargo install basic-http-server args: @@ -26,6 +31,11 @@ args: creates: "{{ ansible_env.HOME }}/.cargo/bin/btm" +- name: install broot + command: cargo install broot + args: + creates: "{{ ansible_env.HOME }}/.cargo/bin/broot" + - name: install choose command: cargo install choose args: @@ -118,6 +128,11 @@ args: creates: "{{ ansible_env.HOME }}/.cargo/bin/lsd" +- name: install mcfly + command: cargo install mcfly + args: + creates: "{{ ansible_env.HOME }}/.cargo/bin/mcfly" + - name: install mdbook command: cargo install mdbook args: @@ -133,12 +148,22 @@ args: creates: "{{ ansible_env.HOME }}/.cargo/bin/rg" +- name: install search-and-displace + command: cargo install sd + args: + creates: "{{ ansible_env.HOME }}/.cargo/bin/sd" + - name: install stargazer command: cargo install stargazer when: ansible_facts['system']|lower == 'linux' args: creates: "{{ ansible_env.HOME }}/.cargo/bin/stargazer" +- name: install tealdeer + command: cargo install tealdeer + args: + creates: "{{ ansible_env.HOME }}/.cargo/bin/tldr" + - name: install wasm-pack command: cargo install wasm-pack args: @@ -149,8 +174,19 @@ args: creates: "{{ ansible_env.HOME }}/.cargo/bin/xcp" +- name: install xh + command: cargo install xh + args: + creates: "{{ ansible_env.HOME }}/.cargo/bin/xh" + - name: install ytop command: cargo install ytop when: ansible_facts['system']|lower == 'linux' args: creates: "{{ ansible_env.HOME }}/.cargo/bin/ytop" + +- name: install zoxide + command: cargo install zoxide + args: + creates: "{{ ansible_env.HOME }}/.cargo/bin/z" +