mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
rename bin files and move nb/taskwarrior-tui installs to ansible
This commit is contained in:
parent
9ad14d05ff
commit
bb26e00736
@ -23,12 +23,6 @@
|
||||
refreshPeriod = "168h"
|
||||
include = ["*/dracula.zsh-theme", "*/lib/**"]
|
||||
|
||||
["bin/nb"]
|
||||
type = "file"
|
||||
url = "https://raw.github.com/xwmx/nb/master/nb"
|
||||
executable = true
|
||||
refreshPeriod = "168h"
|
||||
|
||||
#[".oh-my-zsh/custom/themes/dracula.zsh-theme"]
|
||||
# type = "file"
|
||||
# url = "https://github.com/dracula/zsh/archive/master.zip"
|
||||
|
Binary file not shown.
3
home/bin/executable_linux-mount-engi
Normal file
3
home/bin/executable_linux-mount-engi
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
sudo mount -t cifs -o uid=tstarr,gid=tstarr,rw,vers=3.0,credentials=/home/tstarr/.smb //192.168.1.135/engi /home/tstarr/mnt/engi
|
@ -1,4 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
set -e
|
||||
# Search for package and return description
|
||||
dnf search "$1" | cut -d ':' -f 2- | sed -n 2p
|
@ -5,7 +5,7 @@ echo -e "Starting initial setup..."
|
||||
# Install ansible python dependencies
|
||||
sudo xpbs-install -Syu
|
||||
sudo xbps-install python3 python3-pip ansible
|
||||
sudo pip install pexpect
|
||||
sudo pip install pexpect github3.py
|
||||
|
||||
# Install ansible extensions
|
||||
ansible-galaxy install -r {{ .chezmoi.workingTree }}/provision/requirements.yml
|
@ -1,5 +1,13 @@
|
||||
- name: Grab {{ item.repo }} latest binaries
|
||||
- name: Get {{ item.repo }} information
|
||||
github_release:
|
||||
user: "{{ item.user }}"
|
||||
repo: "{{ item.repo }}"
|
||||
action: latest_release
|
||||
register: repo_latest
|
||||
|
||||
- name: Install {{ item.repo }}
|
||||
unarchive:
|
||||
src: "https://github.com/{{ item.user }}/{{ item.repo }}/releases/download/{{ repo_latest['tag'] }}/{{ item.name }}"
|
||||
dest: /usr/local/bin
|
||||
remote_src: true
|
||||
become: true
|
||||
|
10
provision/tasks/terminal/nb.yml
Normal file
10
provision/tasks/terminal/nb.yml
Normal file
@ -0,0 +1,10 @@
|
||||
- name: Install nb
|
||||
ansible.builtin.get_url:
|
||||
url: https://raw.github.com/xwmx/nb/master/nb
|
||||
dest: /usr/local/bin/nb
|
||||
mode: 0755
|
||||
become: true
|
||||
|
||||
- name: Setup nb completions
|
||||
command: nb completions install --download
|
||||
become: true
|
@ -22,3 +22,6 @@
|
||||
loop:
|
||||
- package: rbw # Unofficial command line client for bitwarden
|
||||
repository: hostdir/binpkgs
|
||||
|
||||
- include_tasks: nb.yml # Command line and local web note‑taking, bookmarking, archiving, and knowledge base application
|
||||
- include_tasks: taskwarrior-tui.yml # Terminal User Interface (TUI) for Taskwarrior
|
||||
|
6
provision/tasks/terminal/taskwarrior-tui.yml
Normal file
6
provision/tasks/terminal/taskwarrior-tui.yml
Normal file
@ -0,0 +1,6 @@
|
||||
- name: Install taskwarrior-tui
|
||||
include_tasks: ../include/download-github.yml
|
||||
loop:
|
||||
- user: kdheepak
|
||||
repo: taskwarrior-tui
|
||||
name: taskwarrior-tui-x86_64-unknown-linux-gnu.tar.gz
|
Loading…
x
Reference in New Issue
Block a user