Compare commits
No commits in common. "22de5ba8ee6bb5edc25bcb17466af43c965de4f9" and "83cb3f57e5e6f4a4728b1c633dc943b4c6c7dc6f" have entirely different histories.
22de5ba8ee
...
83cb3f57e5
|
@ -70,9 +70,8 @@
|
||||||
dest: "{{ ansible_env.HOME }}/dev/k9s"
|
dest: "{{ ansible_env.HOME }}/dev/k9s"
|
||||||
|
|
||||||
- name: build k9s-HEAD
|
- name: build k9s-HEAD
|
||||||
ansible.builtin.shell: "gmake build && install -m 755 ./execs/k9s ~/.local/bin/k9s"
|
ansible.builtin.shell: "cd ~/dev/k9s && gmake build && install -m 755 ./execs/k9s ~/.local/bin/k9s"
|
||||||
args:
|
args:
|
||||||
chdir: "{{ ansible_env.HOME }}/dev/k9s"
|
|
||||||
creates: "{{ ansible_env.HOME }}/.local/bin/k9s"
|
creates: "{{ ansible_env.HOME }}/.local/bin/k9s"
|
||||||
|
|
||||||
- name: install stern-HEAD freebsd
|
- name: install stern-HEAD freebsd
|
||||||
|
@ -83,7 +82,7 @@
|
||||||
|
|
||||||
- name: install newest stern linux
|
- name: install newest stern linux
|
||||||
when: ansible_facts['system']|lower == 'linux'
|
when: ansible_facts['system']|lower == 'linux'
|
||||||
shell: curl -Lo ~/.local/bin/stern $(curl -L https://api.github.com/repos/stern/stern/releases/latest | jq -r '.assets[] | select(.name | match("stern_.+_linux_amd64.tar.gz";"i")) | .browser_download_url') && chmod 755 ~/.local/bin/stern
|
shell: curl -Lo ~/.local/bin/stern $(curl -L https://api.github.com/repos/stern/stern/releases/latest | jq -r '.assets[] | select(.name == "stern_linux_amd64") | .browser_download_url') && chmod 755 ~/.local/bin/stern
|
||||||
args:
|
args:
|
||||||
warn: False
|
warn: False
|
||||||
creates: "{{ ansible_env.HOME }}/.local/bin/stern"
|
creates: "{{ ansible_env.HOME }}/.local/bin/stern"
|
||||||
|
|
2
dnf.yml
2
dnf.yml
|
@ -4,7 +4,7 @@
|
||||||
become_user: root
|
become_user: root
|
||||||
become_method: sudo
|
become_method: sudo
|
||||||
dnf:
|
dnf:
|
||||||
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,moreutils,most,nodejs,npm,openssh,openssh-clients,openssl-devel,openssl-perl,perl-FindBin,podman,podman-compose,qemu-kvm,skopeo,sqlite,sqlite-devel,the_silver_searcher,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,moreutils,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
|
state: present
|
||||||
|
|
||||||
- name: add google-cloud-sdk repository
|
- name: add google-cloud-sdk repository
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
---
|
---
|
||||||
- name: create outrun dark gnome-terminal profile
|
- name: create outrun dark gnome-terminal profile
|
||||||
shell: ./base16-outrun-dark-256.sh
|
script: base16-outrun-dark-256.sh
|
||||||
args:
|
args:
|
||||||
creates: "{{ ansible_env.HOME }}/.config/.gnome-terminal-profile-base16-outrun-dark-256-created"
|
creates: "{{ ansible_env.HOME }}/.config/.gnome-terminal-profile-base16-outrun-dark-256-created"
|
||||||
|
|
||||||
- name: create road grey light gnome-terminal profile
|
- name: create road grey light gnome-terminal profile
|
||||||
shell: ./road-grey.sh
|
script: road-grey.sh
|
||||||
args:
|
args:
|
||||||
creates: "{{ ansible_env.HOME }}/.config/.gnome-terminal-profile-road-grey-created"
|
creates: "{{ ansible_env.HOME }}/.config/.gnome-terminal-profile-road-grey-created"
|
||||||
|
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
sudo dnf install -y ansible ansible-collection-community-general
|
|
||||||
|
|
||||||
# this needs to be set on the first run
|
|
||||||
# otherwise ansible can't use the new $PATH
|
|
||||||
case ":${PATH}:" in
|
|
||||||
*:"$HOME/.cargo/bin":*)
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
export PATH="$HOME/.cargo/bin:$PATH"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
ansible-playbook -i linux-inventory.yml localdev.yml
|
|
14
rust.yml
14
rust.yml
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
- name: install rustup
|
- name: install rustup
|
||||||
command: /usr/bin/env bash -c "curl -sSf -o rustup_init https://sh.rustup.rs && /usr/bin/env bash rustup_init --no-modify-path --verbose -y --default-toolchain stable && rm -f rustup_init"
|
command: /usr/bin/env bash -c "curl -sSf -o rustup_init https://sh.rustup.rs && /usr/bin/env bash rustup_init --no-modify-path --verbose -y --default-toolchain stable && rm -f rustup_init && source ~/.cargo/env && rustup install nightly"
|
||||||
args:
|
args:
|
||||||
warn: False
|
warn: False
|
||||||
creates: "{{ ansible_env.HOME }}/.cargo/bin/rustup"
|
creates: "{{ ansible_env.HOME }}/.cargo/bin/rustup"
|
||||||
|
@ -76,6 +76,18 @@
|
||||||
args:
|
args:
|
||||||
creates: "{{ ansible_env.HOME }}/.cargo/bin/flamegraph"
|
creates: "{{ ansible_env.HOME }}/.cargo/bin/flamegraph"
|
||||||
|
|
||||||
|
- name: install frawk freebsd
|
||||||
|
shell: LLVM_SYS_100_PREFIX=/usr/local/llvm10 cargo +nightly install frawk
|
||||||
|
when: ansible_facts['system']|lower == 'freebsd'
|
||||||
|
args:
|
||||||
|
creates: "{{ ansible_env.HOME }}/.cargo/bin/frawk"
|
||||||
|
|
||||||
|
- name: install frawk linux
|
||||||
|
shell: LLVM_SYS_100_PREFIX=/usr/lib64/llvm10 cargo +nightly install frawk
|
||||||
|
when: ansible_facts['system']|lower == 'linux'
|
||||||
|
args:
|
||||||
|
creates: "{{ ansible_env.HOME }}/.cargo/bin/frawk"
|
||||||
|
|
||||||
- name: install git-gone
|
- name: install git-gone
|
||||||
command: cargo install git-gone
|
command: cargo install git-gone
|
||||||
args:
|
args:
|
||||||
|
|
Reference in New Issue