Compare commits

..

No commits in common. "83cb3f57e5e6f4a4728b1c633dc943b4c6c7dc6f" and "390d7dcfc295a7fa8250774af047b27da6cb354b" have entirely different histories.

7 changed files with 34 additions and 16 deletions

View File

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

View File

@ -82,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 == "stern_linux_amd64") | .browser_download_url') && chmod 755 ~/.local/bin/stern 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
args: args:
warn: False warn: False
creates: "{{ ansible_env.HOME }}/.local/bin/stern" creates: "{{ ansible_env.HOME }}/.local/bin/stern"

View File

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

11
neovim.yml Normal file
View File

@ -0,0 +1,11 @@
---
- 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_user: root
become_method: sudo become_method: sudo
community.general.pkgng: community.general.pkgng:
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 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 state: present
- name: install desktop pkg applications - name: install desktop pkg applications
@ -12,7 +12,7 @@
become_user: root become_user: root
become_method: sudo become_method: sudo
community.general.pkgng: community.general.pkgng:
name: gnome3-lite,gnome-terminal,gdm,firefox,nerd-fonts,cantarell-fonts,evolution,evolution-ews,drm-kmod,xorg name: gnome3,gdm,firefox,nerd-fonts,cantarell-fonts,evolution,evolution-ews,drm-kmod
state: present state: present
- name: enable dbus - name: enable dbus
@ -49,3 +49,12 @@
command: portsnap fetch extract command: portsnap fetch extract
args: args:
creates: /usr/ports/.portsnap.INDEX 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,9 +85,6 @@ if which "$DCONF" > /dev/null 2>&1; then
unset BASE_NEW_KEY unset BASE_NEW_KEY
touch "$HOME/.config/.gnome-terminal-profile-road-grey-created" touch "$HOME/.config/.gnome-terminal-profile-road-grey-created"
exit 0 exit 0
else
echo "No default profiles exist, try again later"
exit 0
fi fi
fi fi

View File

@ -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 && source ~/.cargo/env && rustup install nightly" 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"
args: args:
warn: False warn: False
creates: "{{ ansible_env.HOME }}/.cargo/bin/rustup" creates: "{{ ansible_env.HOME }}/.cargo/bin/rustup"
@ -71,11 +71,6 @@
args: args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/fd" 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 - name: install frawk freebsd
shell: LLVM_SYS_100_PREFIX=/usr/local/llvm10 cargo +nightly install frawk shell: LLVM_SYS_100_PREFIX=/usr/local/llvm10 cargo +nightly install frawk
when: ansible_facts['system']|lower == 'freebsd' when: ansible_facts['system']|lower == 'freebsd'
@ -148,6 +143,11 @@
args: args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/mdbook" 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 - name: install rg
command: cargo install ripgrep command: cargo install ripgrep
args: args: