Add file for dependencies needed to develop Hugo sites.
This commit is contained in:
@@ -0,0 +1,30 @@
|
|||||||
|
---
|
||||||
|
# 2026-09-11 Hyperling
|
||||||
|
# Move all Hugo development needs to a specific place.
|
||||||
|
|
||||||
|
- name: Workstation | Hugo
|
||||||
|
block:
|
||||||
|
|
||||||
|
- name: Workstation | Hugo | Facts (pacman)
|
||||||
|
set_fact:
|
||||||
|
- sass_old: ruby-sass
|
||||||
|
- sass_current: dart-sass
|
||||||
|
when: ansible_pkg_mgr == "pacman"
|
||||||
|
|
||||||
|
#- name: Workstation | Hugo | Facts (apt)
|
||||||
|
# set_fact:
|
||||||
|
# - sass_old: htop
|
||||||
|
# - sass_current: htop
|
||||||
|
# when: ansible_pkg_mgr == "apt"
|
||||||
|
|
||||||
|
- name: Workstation | Hugo | Remove
|
||||||
|
package:
|
||||||
|
- "{{ sass_old }}"
|
||||||
|
state: absent
|
||||||
|
|
||||||
|
- name: Workstation | Hugo | Install
|
||||||
|
package:
|
||||||
|
- "{{ sass_current }}"
|
||||||
|
state: present
|
||||||
|
|
||||||
|
when: code is true
|
||||||
Reference in New Issue
Block a user