Compare commits
5
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ebc8c5c690 | ||
|
|
5231fedcdc | ||
|
|
5770998ef5 | ||
|
|
e90cc22255 | ||
|
|
b8e46a05f1 |
No files matched your search
@@ -264,7 +264,11 @@
|
|||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
# End of update_package_manager
|
update_npm: |
|
||||||
|
if [[ `which npm` ]]; then
|
||||||
|
echo "*** NPM ***" &&
|
||||||
|
sudo npm update -g
|
||||||
|
fi
|
||||||
|
|
||||||
# Flatpaks
|
# Flatpaks
|
||||||
- name: General | Facts | Package | Update Command | Flatpak | Check
|
- name: General | Facts | Package | Update Command | Flatpak | Check
|
||||||
|
|||||||
@@ -272,6 +272,8 @@ assign [class="(?i).*dino.*"] $ws5
|
|||||||
|
|
||||||
assign [class="(?i).*pavucontrol.*"] $ws6
|
assign [class="(?i).*pavucontrol.*"] $ws6
|
||||||
assign [class="(?i).*blueman.*"] $ws6
|
assign [class="(?i).*blueman.*"] $ws6
|
||||||
|
assign [class="(?i).*boxes.*"] $ws6
|
||||||
|
assign [class="(?i).*waydroid.*"] $ws6
|
||||||
|
|
||||||
assign [class="(?i).*transmission.*"] $ws7
|
assign [class="(?i).*transmission.*"] $ws7
|
||||||
|
|
||||||
|
|||||||
@@ -152,6 +152,7 @@
|
|||||||
- include_tasks: tasks/workstation/linux/software/vscodium.yml
|
- include_tasks: tasks/workstation/linux/software/vscodium.yml
|
||||||
- include_tasks: tasks/workstation/linux/software/vpn.yml
|
- include_tasks: tasks/workstation/linux/software/vpn.yml
|
||||||
- include_tasks: tasks/workstation/linux/software/nodejs.yml
|
- include_tasks: tasks/workstation/linux/software/nodejs.yml
|
||||||
|
- include_tasks: tasks/workstation/linux/software/hugo.yml
|
||||||
- include_tasks: tasks/workstation/linux/software/brave.yml
|
- include_tasks: tasks/workstation/linux/software/brave.yml
|
||||||
when: ansible_pkg_mgr in ("apt", "dnf", "zypper") and not mobile
|
when: ansible_pkg_mgr in ("apt", "dnf", "zypper") and not mobile
|
||||||
when: ansible_system == "Linux"
|
when: ansible_system == "Linux"
|
||||||
|
|||||||
@@ -248,6 +248,12 @@
|
|||||||
{{ update_package_manager }}
|
{{ update_package_manager }}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "$only_flat" != "Y" && "$only_sys" != "Y" ]]; then
|
||||||
|
{{ update_npm }}
|
||||||
|
else
|
||||||
|
echo -e "\n*** Skipping NPM ***\n\n"
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ "$shutdown" == "Y" && "{{ battery }}" == "True" ]]; then
|
if [[ "$shutdown" == "Y" && "{{ battery }}" == "True" ]]; then
|
||||||
echo -e "\n*** Only System Updates - Skipping Flatpak ***\n\n"
|
echo -e "\n*** Only System Updates - Skipping Flatpak ***\n\n"
|
||||||
elif [[ "$only_sys" == "Y" ]]; then
|
elif [[ "$only_sys" == "Y" ]]; then
|
||||||
|
|||||||
@@ -142,7 +142,7 @@
|
|||||||
state: absent
|
state: absent
|
||||||
|
|
||||||
# Ubuntu still uses snap for critical components like GNOME, must keep.
|
# Ubuntu still uses snap for critical components like GNOME, must keep.
|
||||||
- name: General | Software | Packages | Disable Snap Daemon
|
- name: General | Software | Packages | Disable Snap Daemon
|
||||||
service:
|
service:
|
||||||
name: snapd
|
name: snapd
|
||||||
pattern: snapd
|
pattern: snapd
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
- { app: "im.riot.Riot", name: "element", extra: "" }
|
- { app: "im.riot.Riot", name: "element", extra: "" }
|
||||||
- { app: "org.telegram.desktop", name: "telegram", extra: "" }
|
- { app: "org.telegram.desktop", name: "telegram", extra: "" }
|
||||||
- { app: "org.gimp.GIMP", name: "gimp", extra: "" }
|
- { app: "org.gimp.GIMP", name: "gimp", extra: "" }
|
||||||
- { app: "org.libreoffice.LibreOffice", name: "office", extra: "" }
|
- { app: "org.libreoffice.LibreOffice", name: "libreoffice", extra: "" }
|
||||||
- { app: "com.transmissionbt.Transmission", name: "transmission", extra: "" }
|
- { app: "com.transmissionbt.Transmission", name: "transmission", extra: "" }
|
||||||
- { app: "app.grayjay.Grayjay", name: "grayjay", extra: "" }
|
- { app: "app.grayjay.Grayjay", name: "grayjay", extra: "" }
|
||||||
- { app: "com.github.xournalpp.xournalpp", name: "xournal", extra: "" }
|
- { app: "com.github.xournalpp.xournalpp", name: "xournal", extra: "" }
|
||||||
@@ -58,10 +58,10 @@
|
|||||||
- { app: "com.google.AndroidStudio", name: "android-studio", extra: "" }
|
- { app: "com.google.AndroidStudio", name: "android-studio", extra: "" }
|
||||||
- { app: "io.dbeaver.DBeaverCommunity", name: "dbeaver", extra: "" }
|
- { app: "io.dbeaver.DBeaverCommunity", name: "dbeaver", extra: "" }
|
||||||
- { app: "com.visualstudio.code-oss", name: "code", extra: "" }
|
- { app: "com.visualstudio.code-oss", name: "code", extra: "" }
|
||||||
- { app: "org.gnome.Boxes", name: "boxes", extra: "" }
|
- { app: "org.gnome.Boxes", name: "gnome-boxes", extra: "" }
|
||||||
flatpaks_editing_video:
|
flatpaks_editing_video:
|
||||||
- { app: "org.shotcut.Shotcut", name: "shotcut", extra: "" }
|
- { app: "org.shotcut.Shotcut", name: "shotcut", extra: "" }
|
||||||
- { app: "com.obsproject.Studio", name: "obs", extra: "" }
|
- { app: "com.obsproject.Studio", name: "obs-studio", extra: "" }
|
||||||
- { app: "org.openshot.OpenShot", name: "openshot", extra: "" }
|
- { app: "org.openshot.OpenShot", name: "openshot", extra: "" }
|
||||||
flatpaks_editing_audio:
|
flatpaks_editing_audio:
|
||||||
- { app: "org.tenacityaudio.Tenacity", name: "tenacity", extra: "" }
|
- { app: "org.tenacityaudio.Tenacity", name: "tenacity", extra: "" }
|
||||||
|
|||||||
@@ -2,29 +2,55 @@
|
|||||||
# 2026-09-11 Hyperling
|
# 2026-09-11 Hyperling
|
||||||
# Move all Hugo development needs to a specific place.
|
# Move all Hugo development needs to a specific place.
|
||||||
|
|
||||||
- name: Workstation | Hugo
|
- name: Workstation | Linux | Software | Hugo
|
||||||
block:
|
block:
|
||||||
|
|
||||||
- name: Workstation | Hugo | Facts (pacman)
|
- name: Workstation | Linux | Software | Hugo | pacman
|
||||||
set_fact:
|
block:
|
||||||
- sass_old: ruby-sass
|
|
||||||
- sass_current: dart-sass
|
- name: Workstation | Linux | Software | Hugo | pacman | Facts
|
||||||
|
set_fact:
|
||||||
|
sass_old: ruby-sass
|
||||||
|
sass_current: dart-sass
|
||||||
|
|
||||||
|
- name: Workstation | Linux | Software | Hugo | pacman | Remove Old
|
||||||
|
package:
|
||||||
|
name:
|
||||||
|
- "{{ sass_old }}"
|
||||||
|
state: absent
|
||||||
|
|
||||||
|
- name: Workstation | Linux | Software | Hugo | pacman | Install New
|
||||||
|
package:
|
||||||
|
name:
|
||||||
|
- "{{ sass_current }}"
|
||||||
|
state: present
|
||||||
|
|
||||||
when: ansible_pkg_mgr == "pacman"
|
when: ansible_pkg_mgr == "pacman"
|
||||||
|
|
||||||
#- name: Workstation | Hugo | Facts (apt)
|
# This must exist after nodejs.yml so that NPM is installed.
|
||||||
# set_fact:
|
- name: Workstation | Linux | Software | Hugo | npm
|
||||||
# - sass_old: htop
|
block:
|
||||||
# - sass_current: htop
|
|
||||||
# when: ansible_pkg_mgr == "apt"
|
|
||||||
|
|
||||||
- name: Workstation | Hugo | Remove
|
- name: Workstation | Linux | Software | Hugo | npm | Facts
|
||||||
package:
|
set_fact:
|
||||||
- "{{ sass_old }}"
|
sass_old: node-sass
|
||||||
state: absent
|
sass_current: sass
|
||||||
|
|
||||||
- name: Workstation | Hugo | Install
|
- name: Workstation | Linux | Software | Hugo | npm | Gather
|
||||||
package:
|
shell: npm prefix -g
|
||||||
- "{{ sass_current }}"
|
register: npm_bin_dir # Provides /usr/local/ on Devuan, /usr/ on Artix.
|
||||||
state: present
|
changed_when: false
|
||||||
|
|
||||||
when: code is true
|
- name: Workstation | Linux | Software | Hugo | npm | Remove Old
|
||||||
|
shell: "npm remove -g {{ sass_old }}"
|
||||||
|
args:
|
||||||
|
creates: "{{ npm_bin_dir.stdout }}/bin/sass"
|
||||||
|
|
||||||
|
- name: Workstation | Linux | Software | Hugo | npm | Install New
|
||||||
|
shell: "npm install -g {{ sass_current }}"
|
||||||
|
args:
|
||||||
|
creates: "{{ npm_bin_dir.stdout }}/bin/sass"
|
||||||
|
|
||||||
|
when: ansible_pkg_mgr == "apt"
|
||||||
|
|
||||||
|
when: coding is true
|
||||||
@@ -7,29 +7,41 @@
|
|||||||
- name: Workstation | Software | NodeJS
|
- name: Workstation | Software | NodeJS
|
||||||
block:
|
block:
|
||||||
|
|
||||||
- name: Workstation | Software | NodeJS | Facts
|
- name: Workstation | Software | NodeJS | apt
|
||||||
set_fact:
|
block:
|
||||||
node_version: node_24.x
|
|
||||||
|
|
||||||
- name: Workstation | Software | NodeJS | Old | Remove
|
- name: Workstation | Software | NodeJS | apt | Facts
|
||||||
package:
|
set_fact:
|
||||||
name: npm
|
node_version: node_24.x
|
||||||
state: absent
|
|
||||||
|
|
||||||
- name: Workstation | Software | NodeJS | extrepo | Install
|
- name: Workstation | Software | NodeJS | apt | Old | Remove
|
||||||
|
package:
|
||||||
|
name: npm
|
||||||
|
state: absent
|
||||||
|
|
||||||
|
- name: Workstation | Software | NodeJS | apt | extrepo | Install
|
||||||
|
package:
|
||||||
|
name: extrepo
|
||||||
|
state: present
|
||||||
|
update_cache: yes
|
||||||
|
|
||||||
|
- name: Workstation | Software | NodeJS | apt | extrepo | Enable
|
||||||
|
shell: "extrepo enable {{ node_version }}"
|
||||||
|
|
||||||
|
- name: Workstation | Software | NodeJS | apt | Install
|
||||||
|
package:
|
||||||
|
name: nodejs
|
||||||
|
state: latest
|
||||||
|
update_cache: yes
|
||||||
|
|
||||||
|
when: ansible_pkg_mgr == "apt"
|
||||||
|
|
||||||
|
- name: Workstation | Software | NodeJS | All Others | Install
|
||||||
package:
|
package:
|
||||||
name: extrepo
|
name:
|
||||||
|
- nodejs
|
||||||
|
- npm
|
||||||
state: present
|
state: present
|
||||||
update_cache: yes
|
when: ansible_pkg_mgr != "apt"
|
||||||
|
|
||||||
- name: Workstation | Software | NodeJS | extrepo | Enable {{ node_version }}
|
when: coding == true
|
||||||
shell: "extrepo enable {{ node_version }}"
|
|
||||||
|
|
||||||
- name: Workstation | Software | NodeJS | Install
|
|
||||||
package:
|
|
||||||
name: nodejs
|
|
||||||
state: latest
|
|
||||||
update_cache: yes
|
|
||||||
|
|
||||||
when: ansible_pkg_mgr == "apt"
|
|
||||||
and coding == true
|
|
||||||
Reference in new issue
Block a user