added a new role for setting up slidev

This commit is contained in:
aminnairi
2024-01-04 22:49:15 +01:00
parent eac9ab343e
commit 929fe8ca38
3 changed files with 25 additions and 0 deletions
+1
View File
@@ -17,6 +17,7 @@
- vifm - vifm
- tmux - tmux
- neovim - neovim
- slidev
- ufw - ufw
- pipewire - pipewire
- hostname - hostname
+1
View File
@@ -17,6 +17,7 @@
- vifm - vifm
- tmux - tmux
- neovim - neovim
- slidev
- browsers - browsers
- ufw - ufw
- pipewire - pipewire
+23
View File
@@ -0,0 +1,23 @@
---
- name: Install Node.js
become: true
pacman:
name: nodejs
state: latest
- name: Install NPM
become: true
pacman:
name: npm
state: latest
- name: Install Slidev globally through NPM
community.general.npm:
path: /$HOME/.local/lib/node_modules
name: '@slidev/cli'
- name: Install Slidev default theme globally through NPM
community.general.npm:
path: /$HOME/.local/lib/node_modules
name: '@slidev/theme-default'
- name: Install Playwright Chromium for Slidev globally through NPM
community.general.npm:
path: /$HOME/.local/lib/node_modules
name: playwright-chromium