Compare commits

..

2 Commits

Author SHA1 Message Date
Fabio Scotto di Santolo
4c10af3187 Add openssl to Fedora base packages 2026-09-21 12:07:50 +02:00
Fabio Scotto di Santolo
3ac732751c Add pinned Java 25 to Mise on WSL workstation 2026-09-21 11:57:51 +02:00
4 changed files with 20 additions and 3 deletions

View File

@@ -9,6 +9,7 @@ fedora_packages_base:
- jq - jq
- make - make
- nodejs - nodejs
- openssl
- ripgrep - ripgrep
fedora_manage_docker_repo: true fedora_manage_docker_repo: true

View File

@@ -12,9 +12,10 @@ workstation_dev_wsl_packages:
- python3-pip - python3-pip
- tmux - tmux
# Java 11 and Maven are managed by Mise on this Fedora WSL profile. Keep their # Java 11, Java 25 and Maven are managed by Mise on this Fedora WSL profile.
# versions pinned; update them deliberately. # Keep their versions pinned; update them deliberately.
workstation_mise_java_version: temurin-11.0.31+11 workstation_mise_java_version: temurin-11.0.31+11
workstation_mise_java_25_version: 25.0.2
workstation_mise_maven_version: 3.9.16 workstation_mise_maven_version: 3.9.16
workstation_is_wsl: true workstation_is_wsl: true

View File

@@ -66,6 +66,17 @@
changed_when: false changed_when: false
failed_when: false failed_when: false
- name: Check whether the pinned Java 25 version is installed with Mise
tags: [packages, mise, java, wsl]
ansible.builtin.command:
cmd: "mise where java@{{ workstation_mise_java_25_version }}"
become_user: "{{ username }}"
environment:
HOME: "{{ user_home }}"
register: workstation_mise_java_25_where
changed_when: false
failed_when: false
- name: Check whether the pinned Maven version is installed with Mise - name: Check whether the pinned Maven version is installed with Mise
tags: [packages, mise, maven, wsl] tags: [packages, mise, maven, wsl]
ansible.builtin.command: ansible.builtin.command:
@@ -86,6 +97,7 @@
HOME: "{{ user_home }}" HOME: "{{ user_home }}"
when: >- when: >-
workstation_mise_java_where.rc != 0 or workstation_mise_java_where.rc != 0 or
workstation_mise_java_25_where.rc != 0 or
workstation_mise_maven_where.rc != 0 workstation_mise_maven_where.rc != 0
- name: Ensure WSL boot configuration file exists - name: Ensure WSL boot configuration file exists

View File

@@ -1,3 +1,6 @@
[tools] [tools]
java = "temurin-11.0.31+11" java = ["25.0.2", "temurin-11.0.31+11"]
maven = "3.9.16" maven = "3.9.16"
[env]
JAVA_HOME = "{{ env.HOME }}/.local/share/mise/installs/java/25.0.2"