Compare commits

...

8 Commits

7 changed files with 16 additions and 34 deletions

View File

@ -84,6 +84,9 @@ if which "$DCONF" > /dev/null 2>&1; then
unset BASE_NEW_KEY
touch "$HOME/.config/.gnome-terminal-profile-base16-outrun-dark-256-created"
exit 0
else
echo "No profiles exist, yet. Try again later."
exit 0
fi
fi

View File

@ -82,7 +82,7 @@
- name: install newest stern linux
when: ansible_facts['system']|lower == 'linux'
shell: curl -Lo ~/.local/bin/stern $(curl -L https://api.github.com/repos/wercker/stern/releases/latest | jq -r '.assets[] | select(.name == "stern_linux_amd64") | .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:
warn: False
creates: "{{ ansible_env.HOME }}/.local/bin/stern"

View File

@ -53,8 +53,4 @@
- name: Install oil shell
import_tasks: oil-shell.yml
vars:
version: "0.8.9"
- name: Install neovim
import_tasks: neovim.yml
version: "0.9.0"

View File

@ -1,11 +0,0 @@
---
- name: clone neovim github repo
ansible.builtin.git:
repo: 'https://github.com/neovim/neovim.git'
dest: "{{ ansible_env.HOME }}/dev/neovim"
update: no
- name: build neovim
ansible.builtin.shell: "cd ~/dev/neovim && gmake && sudo gmake install"
args:
creates: /usr/local/bin/nvim

13
pkg.yml
View File

@ -4,7 +4,7 @@
become_user: root
become_method: sudo
community.general.pkgng:
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
name: libtool,autogen,libuv,gettext,autoconf,automake,gmake,coreutils,bash,the_silver_searcher,tmux,git,most,neovim,node,npm,cmake,llvm10,jq,gsed,lsd,py38-httpie,fzf,direnv,py38-glances,htop,sqlite3
state: present
- name: install desktop pkg applications
@ -12,7 +12,7 @@
become_user: root
become_method: sudo
community.general.pkgng:
name: gnome3,gdm,firefox,nerd-fonts,cantarell-fonts,evolution,evolution-ews,drm-kmod
name: gnome3-lite,gnome-terminal,gdm,firefox,nerd-fonts,cantarell-fonts,evolution,evolution-ews,drm-kmod,xorg
state: present
- name: enable dbus
@ -49,12 +49,3 @@
command: portsnap fetch extract
args:
creates: /usr/ports/.portsnap.INDEX
- name: install htop
become: yes
become_user: root
become_method: sudo
command: make install-missing-packages install clean
args:
chdir: /usr/ports/sysutils/htop
creates: /usr/local/bin/htop

View File

@ -85,6 +85,9 @@ if which "$DCONF" > /dev/null 2>&1; then
unset BASE_NEW_KEY
touch "$HOME/.config/.gnome-terminal-profile-road-grey-created"
exit 0
else
echo "No default profiles exist, try again later"
exit 0
fi
fi

View File

@ -1,6 +1,6 @@
---
- name: install rustup
command: /bin/bash -c "curl -sSf -o rustup_init https://sh.rustup.rs && /bin/bash rustup_init --no-modify-path --verbose -y --default-toolchain stable && rm -f rustup_init && source ~/.cargo/env && rustup install nightly"
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:
warn: False
creates: "{{ ansible_env.HOME }}/.cargo/bin/rustup"
@ -71,6 +71,11 @@
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/fd"
- name: install flamegraph
command: cargo install flamegraph
args:
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'
@ -143,11 +148,6 @@
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/mdbook"
- name: install ncgopher
command: cargo install ncgopher
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/ncgopher"
- name: install rg
command: cargo install ripgrep
args: