mirror of
https://github.com/fscotto/infra.git
synced 2026-11-26 13:49:52 +00:00
Remove mise from WSL and tidy devcontainer tooling
- Drop mise installation, COPR repository, pinned tool checks and dotfiles from the Fedora WSL profile; keep the Maven pin for the devcontainers as workstation_maven_version. - Remove the Claude Code and Cline VS Code extensions from the devcontainer definitions; the CLIs and their mounts remain. - Add the cdp and ecaas devcontainer definitions and their docs. Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -4,6 +4,11 @@
|
||||
when: workstation_ecaas_workspace is defined
|
||||
tags: [ecaas_devcontainer]
|
||||
|
||||
- name: Deploy the cdp Java 25 dev container
|
||||
ansible.builtin.import_tasks: cdp_devcontainer.yml
|
||||
when: workstation_cdp_workspace is defined
|
||||
tags: [cdp_devcontainer]
|
||||
|
||||
- name: Ensure Windows Emacs authoring directories exist
|
||||
tags: [dotfiles, dotfiles:workstation, emacs, wsl]
|
||||
ansible.builtin.file:
|
||||
@@ -60,51 +65,6 @@
|
||||
loop_control:
|
||||
label: "{{ item.dest }}"
|
||||
|
||||
- name: Check whether the pinned Java version is installed with Mise
|
||||
tags: [packages, mise, java, wsl]
|
||||
ansible.builtin.command:
|
||||
cmd: "mise where java@{{ workstation_mise_java_version }}"
|
||||
become_user: "{{ username }}"
|
||||
environment:
|
||||
HOME: "{{ user_home }}"
|
||||
register: workstation_mise_java_where
|
||||
changed_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
|
||||
tags: [packages, mise, maven, wsl]
|
||||
ansible.builtin.command:
|
||||
cmd: "mise where maven@{{ workstation_mise_maven_version }}"
|
||||
become_user: "{{ username }}"
|
||||
environment:
|
||||
HOME: "{{ user_home }}"
|
||||
register: workstation_mise_maven_where
|
||||
changed_when: false
|
||||
failed_when: false
|
||||
|
||||
- name: Install the pinned Mise tools
|
||||
tags: [packages, mise, java, maven, wsl]
|
||||
ansible.builtin.command:
|
||||
cmd: mise install
|
||||
become_user: "{{ username }}"
|
||||
environment:
|
||||
HOME: "{{ user_home }}"
|
||||
when: >-
|
||||
workstation_mise_java_where.rc != 0 or
|
||||
workstation_mise_java_25_where.rc != 0 or
|
||||
workstation_mise_maven_where.rc != 0
|
||||
|
||||
- name: Ensure WSL boot configuration file exists
|
||||
tags: [packages, services]
|
||||
ansible.builtin.file:
|
||||
|
||||
Reference in New Issue
Block a user