7 Commits

13 changed files with 47 additions and 9 deletions

1
.gitignore vendored
View File

@@ -1,2 +1,3 @@
external external
modules/win_git* modules/win_git*
playbooks/test.yaml

3
playbooks/Linux.yaml Normal file
View File

@@ -0,0 +1,3 @@
---
- import_playbook: LinuxCLI.yaml
- import_playbook: UnixGUI.yaml

5
playbooks/LinuxCLI.yaml Normal file
View File

@@ -0,0 +1,5 @@
---
- hosts: localhost
roles:
- role: gdb
- role: system-info

View File

@@ -8,26 +8,25 @@
- role: zsh - role: zsh
- role: neovim - role: neovim
- role: tmux - role: tmux
- role: system-info
when: '"WSL" not in ansible_kernel'
- role: ag - role: ag
- role: bash
- role: bat - role: bat
- role: curl - role: curl
- role: editline
- role: fzf - role: fzf
- role: gh - role: gh
- role: git - role: git
- role: glab
- role: htop - role: htop
- role: jp - role: jp
- role: jq - role: jq
- role: readline - role: readline
- role: tidy - role: tidy
- role: tree - role: tree
- role: yq
- role: watch - role: watch
- role: wget
- role: yq
- role: llvm - role: llvm
- role: nodejs - role: nodejs
- role: wsl
when: '"WSL" in ansible_kernel'

View File

@@ -1,5 +1,4 @@
--- ---
- import_playbook: UnixCLI.yaml
- hosts: localhost - hosts: localhost
roles: roles:
- role: 1password - role: 1password

View File

@@ -1,3 +1,6 @@
--- ---
- import_playbook: Unix.yaml - import_playbook: UnixCLI.yaml
- import_playbook: Windows.yaml - hosts: localhost
roles:
- role: gdb
- role: wsl

View File

@@ -1,4 +1,8 @@
--- ---
- import_playbook: UnixCLI.yaml
- hosts: localhost
roles:
- role: system-info
- import_playbook: UnixGUI.yaml - import_playbook: UnixGUI.yaml
- hosts: localhost - hosts: localhost
roles: roles:

View File

@@ -1,2 +1,3 @@
--- ---
- include_tasks: '{{ansible_os_family}}.yaml' - include_tasks: '{{ansible_os_family}}.yaml'
# TODO: If gnome-shell on wayland set global key binding in custom keyboard settings

6
roles/gdb/RedHat.yaml Normal file
View File

@@ -0,0 +1,6 @@
---
- name: install dnf package
become: true
dnf:
name: gdb
state: latest

View File

@@ -0,0 +1,6 @@
---
- name: install dnf package
become: true
dnf:
name: glab
state: latest

View File

@@ -0,0 +1,4 @@
---
# TODO: Install ulauncher - or find a better alternative
# TODO: If gnome-shell on wayland set global key binding in custom keyboard settings
# TODO: Clone https://github.com/shepda/ulauncher-adwaita-darkish into ~/.config/ulauncher/user-themes

View File

@@ -1,5 +1,6 @@
--- ---
- name: install apt package - name: install apt package
become: true
apt: apt:
name: wget name: wget
state: latest state: latest

View File

@@ -0,0 +1,6 @@
---
- name: install dnf package
become: true
dnf:
name: wget
state: latest