Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanwn committed Dec 24, 2024
1 parent 5e3721a commit 137dc3d
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 18 deletions.
6 changes: 3 additions & 3 deletions roles/nvm/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
ansible.builtin.command:
chdir: "{{ ansible_env.HOME }}/install"
cmd: >
bash XDG_CONFIG_HOME={{ ansible_env.HOME }}/.config nvm_install.sh
bash {{ ansible_env.HOME }}/install/nvm_install.sh
args:
creates: "{{ ansible_env.HOME }}/.config/nvm/nvm.sh"
# environment:
# XDG_CONFIG_HOME: "{{ ansible_env.HOME }}/.config"
environment:
XDG_CONFIG_HOME: "{{ ansible_env.HOME }}/.config"

- name: Make nvm available in zsh
ansible.builtin.blockinfile:
Expand Down
2 changes: 1 addition & 1 deletion roles/ubuntu_core/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
- htop
- hyperfine
- libfuse2
- netcat-openbsd
- perl
- podman
- podman-docker
- python3-pip
- python3-venv
- ripgrep
- socat
- stow
- tldr
- tmux
Expand Down
52 changes: 38 additions & 14 deletions ubuntu24.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
- role: preinstall
- role: ubuntu_core
- role: direnv
- role: go
# - role: go
- role: gocloc
- role: lazygit
- role: nvim
Expand All @@ -42,29 +42,53 @@
nerd_fonts_fonts:
- "ComicShannsMono"
- "JetBrainsMono"
# - "ComicShannsMono"
# - "RobotoMono"
# - "Noto"
# - "Iosevka"
tags:
- fonts
- role: delta
- role: hugo
# - role: hugo
- role: hyperfine
- role: pandoc
# - role: pandoc
- role: vivid
- role: base16

Check failure on line 56 in ubuntu24.yml

View workflow job for this annotation

GitHub Actions / Lint

syntax-check[specific]

the role 'base16' was not found in /home/runner/work/dev-env-playbook/dev-env-playbook/roles:/home/runner/.cache/ansible-compat/2df866/roles:/home/runner/work/dev-env-playbook/dev-env-playbook/roles:/home/runner/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/home/runner/work/dev-env-playbook/dev-env-playbook
vars:
base16_themes:
- "base16-cupertino"
- "base16-emil"
- "base16-equilibrium-gray-light"
- "base16-gruvbox-light-soft"
- "base16-monokai"
- "base16-one-light"
- "base16-onedark"
- "base16-solarized-dark"
- "base16-solarized-light"
- "base16-tokyo-night-light"
# base16_theme: "base16-tokyo-night-light"
base16_theme: "base16-equilibrium-gray-light"
# base16_theme: "papercolor-light"
tags:
- base16
- role: nvm
# - role: plan9

tasks:
- name: Install optional packages for host machine
become: true
ansible.builtin.apt:
name:
- pandoc
when: '"WSL" not in ansible_facts["kernel"]'
# - name: Install optional packages for host machine
# become: true
# ansible.builtin.apt:
# name:
# - pandoc
# when: '"WSL" not in ansible_facts["kernel"]'

- name: Install optional packages for guest machine
ansible.builtin.import_role:
name: ubuntu_vbox
when: '"WSL" not in ansible_facts["kernel"]'

- name: Install wez
ansible.builtin.import_role:
name: wez
when: >
"WSL" not in ansible_facts["kernel"] or integration_testing
# - name: Install wez
# ansible.builtin.import_role:
# name: wez
# when: >
# "WSL" not in ansible_facts["kernel"] or integration_testing

0 comments on commit 137dc3d

Please sign in to comment.