From 49f363b80c27cc618bb01f51d150fa490b6d688a Mon Sep 17 00:00:00 2001 From: Hyperling Date: Fri, 11 Sep 2026 13:22:53 -0700 Subject: [PATCH] Add file for dependencies needed to develop Hugo sites. --- tasks/workstation/linux/software/hugo.yml | 30 +++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 tasks/workstation/linux/software/hugo.yml diff --git a/tasks/workstation/linux/software/hugo.yml b/tasks/workstation/linux/software/hugo.yml new file mode 100644 index 0000000..3e37659 --- /dev/null +++ b/tasks/workstation/linux/software/hugo.yml @@ -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