mirror of
https://github.com/fscotto/infra.git
synced 2026-07-29 16:20:01 +00:00
Update gitconfig on WSL
This commit is contained in:
@@ -8,6 +8,7 @@ workstation_dev_wsl_packages:
|
|||||||
- python3-pip
|
- python3-pip
|
||||||
- tmux
|
- tmux
|
||||||
workstation_dev_wsl_excluded_packages:
|
workstation_dev_wsl_excluded_packages:
|
||||||
|
- alacritty
|
||||||
- pcscd
|
- pcscd
|
||||||
- pinentry-gnome3
|
- pinentry-gnome3
|
||||||
- podman
|
- podman
|
||||||
@@ -17,9 +18,7 @@ workstation_dev_wsl_excluded_packages:
|
|||||||
workstation_is_wsl: true
|
workstation_is_wsl: true
|
||||||
workstation_manage_google_chrome: false
|
workstation_manage_google_chrome: false
|
||||||
workstation_removed_snap_packages: []
|
workstation_removed_snap_packages: []
|
||||||
workstation_snap_packages:
|
workstation_snap_packages: []
|
||||||
- name: glab
|
|
||||||
classic: true
|
|
||||||
workstation_dev_wsl_python_packages: []
|
workstation_dev_wsl_python_packages: []
|
||||||
workstation_wsl_systemd_enabled: true
|
workstation_wsl_systemd_enabled: true
|
||||||
workstation_dev_wsl_dotfiles:
|
workstation_dev_wsl_dotfiles:
|
||||||
|
|||||||
47
ansible/inventory/group_vars/workstation_dev_wsl.yml.orig
Normal file
47
ansible/inventory/group_vars/workstation_dev_wsl.yml.orig
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
---
|
||||||
|
enabled_services:
|
||||||
|
- docker
|
||||||
|
|
||||||
|
workstation_dev_wsl_packages:
|
||||||
|
- lazygit
|
||||||
|
- pinentry-curses
|
||||||
|
- python3-pip
|
||||||
|
workstation_dev_wsl_excluded_packages:
|
||||||
|
- alacritty
|
||||||
|
- pcscd
|
||||||
|
- pinentry-gnome3
|
||||||
|
- podman
|
||||||
|
- podman-compose
|
||||||
|
- ufw
|
||||||
|
- yubikey-manager
|
||||||
|
workstation_is_wsl: true
|
||||||
|
workstation_manage_google_chrome: false
|
||||||
|
<<<<<<< HEAD
|
||||||
|
workstation_removed_snap_packages: []
|
||||||
|
workstation_snap_packages:
|
||||||
|
- name: glab
|
||||||
|
classic: true
|
||||||
|
workstation_dev_wsl_python_packages: []
|
||||||
|
||||||| parent of cb83ed1 (Update gitconfig on WSL)
|
||||||
|
workstation_removed_snap_packages: []
|
||||||
|
workstation_snap_packages:
|
||||||
|
- name: glab
|
||||||
|
classic: true
|
||||||
|
workstation_dev_wsl_python_packages:
|
||||||
|
- pypsrp
|
||||||
|
- pyspnego
|
||||||
|
=======
|
||||||
|
workstation_manage_glab: true
|
||||||
|
workstation_glab_version: "1.103.0"
|
||||||
|
workstation_removed_snap_packages:
|
||||||
|
- glab
|
||||||
|
workstation_snap_packages: []
|
||||||
|
workstation_dev_wsl_python_packages:
|
||||||
|
- pypsrp
|
||||||
|
- pyspnego
|
||||||
|
>>>>>>> cb83ed1 (Update gitconfig on WSL)
|
||||||
|
workstation_wsl_systemd_enabled: true
|
||||||
|
workstation_dev_wsl_dotfiles:
|
||||||
|
- src: .gnupg/gpg-agent.conf
|
||||||
|
dest: .gnupg/gpg-agent.conf
|
||||||
|
mode: "0600"
|
||||||
@@ -52,6 +52,39 @@
|
|||||||
- workstation_manage_google_chrome | default(false)
|
- workstation_manage_google_chrome | default(false)
|
||||||
- "'google-chrome-stable' not in (ansible_facts.packages | default({}))"
|
- "'google-chrome-stable' not in (ansible_facts.packages | default({}))"
|
||||||
|
|
||||||
|
- name: Download glab Debian package
|
||||||
|
tags: [packages]
|
||||||
|
ansible.builtin.get_url:
|
||||||
|
url: >-
|
||||||
|
https://gitlab.com/gitlab-org/cli/-/releases/v{{ workstation_glab_version }}/downloads/glab_{{ workstation_glab_version }}_linux_{{
|
||||||
|
'amd64' if ansible_facts['architecture'] == 'x86_64'
|
||||||
|
else 'arm64' if ansible_facts['architecture'] in ['aarch64', 'arm64']
|
||||||
|
else ansible_facts['architecture']
|
||||||
|
}}.deb
|
||||||
|
dest: "/tmp/glab_{{ workstation_glab_version }}.deb"
|
||||||
|
mode: "0644"
|
||||||
|
when:
|
||||||
|
- workstation_manage_glab | default(false)
|
||||||
|
- ansible_facts.packages['glab'] is not defined or ansible_facts.packages['glab'][0].version != workstation_glab_version
|
||||||
|
|
||||||
|
- name: Install glab from downloaded Debian package
|
||||||
|
tags: [packages]
|
||||||
|
ansible.builtin.apt:
|
||||||
|
deb: "/tmp/glab_{{ workstation_glab_version }}.deb"
|
||||||
|
state: present
|
||||||
|
when:
|
||||||
|
- workstation_manage_glab | default(false)
|
||||||
|
- ansible_facts.packages['glab'] is not defined or ansible_facts.packages['glab'][0].version != workstation_glab_version
|
||||||
|
|
||||||
|
- name: Remove downloaded glab Debian package
|
||||||
|
tags: [packages]
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: "/tmp/glab_{{ workstation_glab_version }}.deb"
|
||||||
|
state: absent
|
||||||
|
when:
|
||||||
|
- workstation_manage_glab | default(false)
|
||||||
|
- ansible_facts.packages['glab'] is not defined or ansible_facts.packages['glab'][0].version != workstation_glab_version
|
||||||
|
|
||||||
- name: Ensure Docker apt keyrings directory exists
|
- name: Ensure Docker apt keyrings directory exists
|
||||||
tags: [packages]
|
tags: [packages]
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
|
|||||||
@@ -87,3 +87,11 @@
|
|||||||
colorMoved = default
|
colorMoved = default
|
||||||
tabs = 4
|
tabs = 4
|
||||||
side-by-side = true
|
side-by-side = true
|
||||||
|
|
||||||
|
[http "https://gitlab.ecaas.datacenter.comune.roma"]
|
||||||
|
sslBackend = gnutls
|
||||||
|
sslCAInfo = ~/.local/share/certs/ecaas.datacenter.comune.roma.crt
|
||||||
|
|
||||||
|
[credential]
|
||||||
|
helper = store
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user