more stuff to install

This commit is contained in:
Kyle Isom 2023-04-11 23:13:11 -07:00
parent 1a28e3c56d
commit fe4ed832fa
3 changed files with 32 additions and 2 deletions

View File

@ -4,14 +4,24 @@ C := -c local # connection
K := -K # prompt for sudo password
O := # additional options
P := site.yml # playbook
T := # if y, time the process
V := -vvv # verbosity
ifeq ($T,y)
TIME = /usr/bin/time -v
else
TIME =
endif
all: deploy
print-%: ; @echo '$(subst ','\'',$*=$($*))'
check:
ansible-playbook -i $I -l $L $C $K --syntax-check $V $O $P
$(TIME) ansible-playbook -i $I -l $L $C $K --syntax-check $V $O $P
deploy:
ansible-playbook -i $I -l $L $C $K $V $O $P
$(TIME) ansible-playbook -i $I -l $L $C $K $V $O $P
.PHONY: all check deploy

View File

@ -15,18 +15,30 @@
- golang-protobuf-extensions-dev
- git
- ipython3
- jq
- libprotobuf-dev
- lua5.3
- luarocks
- make
- protobuf-compiler
- python3-pip
- python3-progressbar
- python3-pycryptodome
- sbcl
- texinfo
- tig
- zlib1g
- zlib1g-dev
# prefer python3-$package instead of using pip.
- name: install various python utils
ansible.builtin.pip:
executable: pip3
name: "{{item}}"
extra_args: --user
with_items:
- yq
- name: install dev tools with guis
when: not headless
become: true
@ -173,12 +185,19 @@
- binutils-arm-linux-gnueabi
- binutils-arm-linux-gnueabihf
- binutils-avr
- dfu-util
- gcc-arm-none-eabi
- gcc-arm-linux-gnueabi
- gcc-arm-linux-gnueabihf
- gcc-avr
- libstdc++-arm-none-eabi-newlib
- libusb-0.1-4
- libusb-1.0-0
- libusb-1.0-0-dev
- libusb-1.0-doc
- libusb-dev
- picocom
- python3-usb
- name: install embedded dev guis
when: (dev_virt or dev_full) and not headless

View File

@ -3,6 +3,7 @@
checksum: sha256:f215c1d30545ee9a9803a170df920bf8fa2d5e0a8fa87a21620bca11ae20b9dc
url: https://github.com/obsidianmd/obsidian-releases/releases/download/v1.1.16/Obsidian-1.1.16.AppImage
dest: "/home/{{ laptop_user }}/.local/bin/obsidian"
mode: 0755
- name: add signal repo key
become: true