Skip to content

Commit

Permalink
Add Archlinux for surface tablet.
Browse files Browse the repository at this point in the history
  • Loading branch information
bergmannf committed Nov 15, 2023
1 parent 68e6b5e commit ae89d73
Show file tree
Hide file tree
Showing 26 changed files with 41 additions and 169 deletions.
11 changes: 0 additions & 11 deletions roles/codecs/tasks/install_Debian.yml

This file was deleted.

3 changes: 2 additions & 1 deletion roles/codecs/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---

- name: Install based on distribution
include_tasks: "install_{{ ansible_os_family }}.yml"
include_tasks: "install_{{ ansible_os_family }}.yml"
when: ansible_os_family != "Archlinux"
8 changes: 0 additions & 8 deletions roles/emacs/tasks/Debian.yml

This file was deleted.

5 changes: 0 additions & 5 deletions roles/fonts/tasks/Archlinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,3 @@
package:
name: ttf-font-awesome
state: present

- name: Install unifont
package:
name: bdf-unifont
state: present
19 changes: 0 additions & 19 deletions roles/fonts/tasks/Debian.yml

This file was deleted.

14 changes: 14 additions & 0 deletions roles/gnome/tasks/install_Archlinux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---

- name: Install the Gnome group
package:
name:
- dconf-editor
- gnome-shell-extension-appindicator
- gnome-shell-extension-forge
# Needed by the pop-shell extension
- pinentry
- firefox
- firefox-ublock-origin
- python-psutil
state: present
17 changes: 0 additions & 17 deletions roles/gnome/tasks/install_Debian.yml

This file was deleted.

1 change: 1 addition & 0 deletions roles/gnome/tasks/install_RedHat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@
- pinentry-gnome3
- firefox
- mozilla-ublock-origin
- python3-psutil
state: present
5 changes: 0 additions & 5 deletions roles/gnome/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
- name: Install gnome-desktop
include_tasks: "install_{{ ansible_os_family }}.yml"

- name: Install required packages to use dconf
package:
name: python3-psutil
state: present

- name: Write gnome settings
become: yes
become_user: "{{ desktop_user.username }}"
Expand Down
7 changes: 7 additions & 0 deletions roles/gpg/tasks/install_Archlinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,10 @@
- gnupg
- pcsc-tools
- pcsclite
- ccid

- name: Enable pcscd socket
service:
name: pcscd.socket
state: started
enabled: true
8 changes: 0 additions & 8 deletions roles/gpg/tasks/install_Debian.yml

This file was deleted.

8 changes: 0 additions & 8 deletions roles/kde/tasks/install_Debian.yml

This file was deleted.

1 change: 1 addition & 0 deletions roles/kubedev/tasks/install_cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

- name: Setup kubernetes repositories
include_tasks: "repositories_cli_{{ ansible_os_family }}.yml"
when: ansible_distribution != "Archlinux"

- name: Install kubectl
package:
Expand Down
6 changes: 6 additions & 0 deletions roles/kubedev/tasks/install_minikube_Archlinux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---

- name: Install minikube
package:
name: minikube
state: present
5 changes: 0 additions & 5 deletions roles/kubedev/tasks/install_minikube_Debian.yml

This file was deleted.

12 changes: 0 additions & 12 deletions roles/kubedev/tasks/repositories_cli_Debian.yml

This file was deleted.

11 changes: 0 additions & 11 deletions roles/lutris/tasks/Debian.yml

This file was deleted.

6 changes: 0 additions & 6 deletions roles/lutris/tasks/Ubuntu.yml

This file was deleted.

1 change: 0 additions & 1 deletion roles/pass/vars/Debian.yml

This file was deleted.

20 changes: 0 additions & 20 deletions roles/sbt/tasks/Debian.yml

This file was deleted.

5 changes: 0 additions & 5 deletions roles/scala/tasks/Debian.yml

This file was deleted.

9 changes: 0 additions & 9 deletions roles/shell-tools/tasks/Debian.yml

This file was deleted.

18 changes: 4 additions & 14 deletions roles/virtualization/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,14 @@

# tasks file for roles/virtualization
- name: Install required packages for virtualization
apt:
package:
name: "{{ packages }}"
state: present
update_cache: yes
vars:
packages:
- virt-manager
- bridge-utils
- qemu-kvm
- libvirt-clients
- libvirt-daemon
- libvirt-daemon-system
- bridge-utils
- iptables
- virt-top
- virt-manager
# ansible dependencies:
- python-libvirt
when: ansible_os_family == "Debian"
- qemu-full
when: ansible_os_family == "Archlinux"

- name: Install required packages for virtualization
dnf:
Expand All @@ -34,6 +23,7 @@
- "@Virtualization"
when: ansible_os_family == "RedHat"


- name: Add {{ desktop_user.username }} to libvirt group
user:
name: "{{ desktop_user.username }}"
Expand Down
5 changes: 5 additions & 0 deletions roles/virtualization/vars/Archlinux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
libvirt_groups:
- libvirt
- libvirt-qemu
- qemu
4 changes: 0 additions & 4 deletions roles/virtualization/vars/Debian.yml

This file was deleted.

1 change: 1 addition & 0 deletions roles/zsh/tasks/install_theme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
community.general.copr:
name: atim/starship
state: enabled
when: ansible_os_family in ["RedHat"]

- name: Install starship
package:
Expand Down

0 comments on commit ae89d73

Please sign in to comment.