mirror of
https://github.com/fscotto/infra.git
synced 2026-05-30 15:39:58 +00:00
Split workstation profiles for Linux and Windows WSL
This commit is contained in:
@@ -1,97 +1,2 @@
|
||||
---
|
||||
profile_packages:
|
||||
- gnupg
|
||||
- gpg-agent
|
||||
- pcscd
|
||||
- yubikey-manager
|
||||
- pinentry-gnome3
|
||||
- openssh-client
|
||||
- libfido2-1
|
||||
- meld
|
||||
- gufw
|
||||
- libreoffice
|
||||
- network-manager-openconnect-gnome
|
||||
- gnome-shell-extension-manager
|
||||
- gnome-shell-extensions
|
||||
- gnome-tweaks
|
||||
- podman
|
||||
- podman-compose
|
||||
- distrobox
|
||||
|
||||
workstation_manage_google_chrome: true
|
||||
|
||||
workstation_removed_snap_packages:
|
||||
- firefox
|
||||
|
||||
workstation_snap_packages:
|
||||
- name: intellij-idea-ultimate
|
||||
classic: true
|
||||
channel: latest/stable
|
||||
- name: postman
|
||||
classic: false
|
||||
channel: latest/stable
|
||||
- name: thunderbird
|
||||
classic: false
|
||||
channel: latest/stable
|
||||
- name: code
|
||||
classic: true
|
||||
channel: latest/stable
|
||||
- name: xournalpp
|
||||
classic: false
|
||||
channel: latest/stable
|
||||
- name: pdfarranger
|
||||
classic: false
|
||||
channel: latest/stable
|
||||
- name: spotify
|
||||
classic: false
|
||||
channel: latest/stable
|
||||
- name: telegram-desktop
|
||||
classic: false
|
||||
channel: latest/stable
|
||||
- name: dbeaver-ce
|
||||
classic: true
|
||||
channel: latest/stable
|
||||
|
||||
workstation_user_directories:
|
||||
- path: "{{ user_home }}/.config"
|
||||
mode: "0755"
|
||||
- path: "{{ user_home }}/.local"
|
||||
mode: "0755"
|
||||
- path: "{{ user_home }}/.local/bin"
|
||||
mode: "0755"
|
||||
- path: "{{ user_home }}/.gnupg"
|
||||
mode: "0700"
|
||||
|
||||
workstation_dotfiles:
|
||||
- src: .gnupg/gpg-agent.conf
|
||||
dest: .gnupg/gpg-agent.conf
|
||||
mode: "0600"
|
||||
- src: .gitignore_global
|
||||
dest: .gitignore_global
|
||||
mode: "0644"
|
||||
- src: .themes.gitignore
|
||||
dest: .themes.gitignore
|
||||
mode: "0644"
|
||||
|
||||
workstation_templates:
|
||||
- src: workstation/.gitconfig.j2
|
||||
dest: .gitconfig
|
||||
mode: "0644"
|
||||
|
||||
workstation_gnome_extensions:
|
||||
- id: 9308
|
||||
uuid: bluetooth-battery-monitor@v8v88v8v88.com
|
||||
version_tag: 68559
|
||||
enabled: true
|
||||
- id: 1401
|
||||
uuid: bluetooth-quick-connect@bjarosze.gmail.com
|
||||
version_tag: 65323
|
||||
enabled: true
|
||||
- id: 6099
|
||||
uuid: paperwm@paperwm.github.com
|
||||
version_tag: 68525
|
||||
enabled: true
|
||||
|
||||
workstation_disabled_gnome_extensions:
|
||||
- tiling-assistant@ubuntu.com
|
||||
- ubuntu-dock@ubuntu.com
|
||||
workstation_manage_opencode: true
|
||||
|
||||
33
ansible/inventory/group_vars/workstation_dev.yml
Normal file
33
ansible/inventory/group_vars/workstation_dev.yml
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
workstation_dev_packages:
|
||||
- distrobox
|
||||
- gnupg
|
||||
- gpg-agent
|
||||
- libfido2-1
|
||||
- openssh-client
|
||||
|
||||
workstation_user_directories:
|
||||
- path: "{{ user_home }}/.config"
|
||||
mode: "0755"
|
||||
- path: "{{ user_home }}/.local"
|
||||
mode: "0755"
|
||||
- path: "{{ user_home }}/.local/bin"
|
||||
mode: "0755"
|
||||
- path: "{{ user_home }}/.gnupg"
|
||||
mode: "0700"
|
||||
|
||||
workstation_dotfiles:
|
||||
- src: .gnupg/gpg-agent.conf
|
||||
dest: .gnupg/gpg-agent.conf
|
||||
mode: "0600"
|
||||
- src: .gitignore_global
|
||||
dest: .gitignore_global
|
||||
mode: "0644"
|
||||
- src: .themes.gitignore
|
||||
dest: .themes.gitignore
|
||||
mode: "0644"
|
||||
|
||||
workstation_templates:
|
||||
- src: workstation/.gitconfig.j2
|
||||
dest: .gitconfig
|
||||
mode: "0644"
|
||||
17
ansible/inventory/group_vars/workstation_dev_wsl.yml
Normal file
17
ansible/inventory/group_vars/workstation_dev_wsl.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
enabled_services:
|
||||
- docker
|
||||
|
||||
workstation_dev_wsl_packages: []
|
||||
workstation_dev_wsl_excluded_packages:
|
||||
- pcscd
|
||||
- pinentry-gnome3
|
||||
- podman
|
||||
- podman-compose
|
||||
- ufw
|
||||
- yubikey-manager
|
||||
workstation_is_wsl: true
|
||||
workstation_manage_google_chrome: false
|
||||
workstation_removed_snap_packages: []
|
||||
workstation_snap_packages: []
|
||||
workstation_wsl_systemd_enabled: true
|
||||
66
ansible/inventory/group_vars/workstation_host_linux.yml
Normal file
66
ansible/inventory/group_vars/workstation_host_linux.yml
Normal file
@@ -0,0 +1,66 @@
|
||||
---
|
||||
workstation_host_linux_packages:
|
||||
- gnome-shell-extension-manager
|
||||
- gnome-shell-extensions
|
||||
- gnome-tweaks
|
||||
- gufw
|
||||
- libreoffice
|
||||
- meld
|
||||
- network-manager-openconnect-gnome
|
||||
- pcscd
|
||||
- pinentry-gnome3
|
||||
- podman
|
||||
- podman-compose
|
||||
- yubikey-manager
|
||||
|
||||
workstation_manage_google_chrome: true
|
||||
|
||||
workstation_removed_snap_packages:
|
||||
- firefox
|
||||
|
||||
workstation_snap_packages:
|
||||
- name: intellij-idea-ultimate
|
||||
classic: true
|
||||
channel: latest/stable
|
||||
- name: postman
|
||||
classic: false
|
||||
channel: latest/stable
|
||||
- name: thunderbird
|
||||
classic: false
|
||||
channel: latest/stable
|
||||
- name: code
|
||||
classic: true
|
||||
channel: latest/stable
|
||||
- name: xournalpp
|
||||
classic: false
|
||||
channel: latest/stable
|
||||
- name: pdfarranger
|
||||
classic: false
|
||||
channel: latest/stable
|
||||
- name: spotify
|
||||
classic: false
|
||||
channel: latest/stable
|
||||
- name: telegram-desktop
|
||||
classic: false
|
||||
channel: latest/stable
|
||||
- name: dbeaver-ce
|
||||
classic: true
|
||||
channel: latest/stable
|
||||
|
||||
workstation_gnome_extensions:
|
||||
- id: 9308
|
||||
uuid: bluetooth-battery-monitor@v8v88v8v88.com
|
||||
version_tag: 68559
|
||||
enabled: true
|
||||
- id: 1401
|
||||
uuid: bluetooth-quick-connect@bjarosze.gmail.com
|
||||
version_tag: 65323
|
||||
enabled: true
|
||||
- id: 6099
|
||||
uuid: paperwm@paperwm.github.com
|
||||
version_tag: 68525
|
||||
enabled: true
|
||||
|
||||
workstation_disabled_gnome_extensions:
|
||||
- tiling-assistant@ubuntu.com
|
||||
- ubuntu-dock@ubuntu.com
|
||||
20
ansible/inventory/group_vars/workstation_host_windows.yml
Normal file
20
ansible/inventory/group_vars/workstation_host_windows.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
ansible_connection: psrp
|
||||
ansible_psrp_auth: negotiate
|
||||
ansible_psrp_cert_validation: ignore
|
||||
ansible_psrp_protocol: http
|
||||
ansible_port: 5985
|
||||
ansible_shell_type: powershell
|
||||
|
||||
windows_winget_packages:
|
||||
- id: Microsoft.VisualStudioCode
|
||||
name: Visual Studio Code
|
||||
- id: Microsoft.WindowsTerminal
|
||||
name: Windows Terminal
|
||||
|
||||
windows_vscode_extensions:
|
||||
- ms-vscode-remote.remote-containers
|
||||
- ms-vscode-remote.remote-ssh
|
||||
- ms-vscode-remote.remote-wsl
|
||||
|
||||
windows_wsl_distribution_name: Ubuntu
|
||||
4
ansible/inventory/host_vars/deadalus-win.yml
Normal file
4
ansible/inventory/host_vars/deadalus-win.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
hostname: deadalus-win
|
||||
ansible_host: windows-host.example.invalid
|
||||
ansible_user: your-windows-user
|
||||
5
ansible/inventory/host_vars/deadalus-wsl.yml
Normal file
5
ansible/inventory/host_vars/deadalus-wsl.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
hostname: deadalus-wsl
|
||||
|
||||
host_packages: []
|
||||
host_enabled_services: []
|
||||
@@ -18,11 +18,23 @@ all:
|
||||
ubuntu:
|
||||
children:
|
||||
ubuntu_workstation:
|
||||
workstation_dev_wsl:
|
||||
ubuntu_server:
|
||||
|
||||
workstation:
|
||||
children:
|
||||
ubuntu_workstation:
|
||||
workstation_host:
|
||||
workstation_dev:
|
||||
|
||||
workstation_host:
|
||||
children:
|
||||
workstation_host_linux:
|
||||
workstation_host_windows:
|
||||
|
||||
workstation_dev:
|
||||
children:
|
||||
workstation_dev_ubuntu:
|
||||
workstation_dev_wsl:
|
||||
|
||||
server:
|
||||
children:
|
||||
@@ -33,6 +45,25 @@ all:
|
||||
deadalus:
|
||||
ansible_connection: local
|
||||
|
||||
workstation_host_linux:
|
||||
hosts:
|
||||
deadalus:
|
||||
ansible_connection: local
|
||||
|
||||
workstation_dev_ubuntu:
|
||||
hosts:
|
||||
deadalus:
|
||||
ansible_connection: local
|
||||
|
||||
workstation_host_windows:
|
||||
hosts:
|
||||
deadalus-win:
|
||||
|
||||
workstation_dev_wsl:
|
||||
hosts:
|
||||
deadalus-wsl:
|
||||
ansible_connection: local
|
||||
|
||||
ubuntu_server:
|
||||
hosts:
|
||||
prometheus:
|
||||
|
||||
Reference in New Issue
Block a user