31 lines
644 B
YAML
31 lines
644 B
YAML
---
|
|
# 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
|