From e9c147e8395586fecf340d2416705ce83f36229d Mon Sep 17 00:00:00 2001 From: Caleb Fultz Date: Mon, 15 Jul 2024 16:38:40 -0400 Subject: [PATCH] Fixed roles --- roles/docker/tasks/main.yml | 1 + roles/extra_apps/tasks/main.yml | 27 +++++++++++++++++++++++++++ roles/gnome/tasks/main.yml | 1 + roles/gui_apps/tasks/main.yml | 6 ------ roles/nvidia/tasks/main.yml | 4 +++- roles/ppa/tasks/main.yml | 7 +++++++ 6 files changed, 39 insertions(+), 7 deletions(-) diff --git a/roles/docker/tasks/main.yml b/roles/docker/tasks/main.yml index 0a9e69d..503beb6 100644 --- a/roles/docker/tasks/main.yml +++ b/roles/docker/tasks/main.yml @@ -39,3 +39,4 @@ - name: Install Docker Module for Python pip: name: docker + extra_args: --break-system-packages diff --git a/roles/extra_apps/tasks/main.yml b/roles/extra_apps/tasks/main.yml index 47af710..cc65f8a 100644 --- a/roles/extra_apps/tasks/main.yml +++ b/roles/extra_apps/tasks/main.yml @@ -1,5 +1,6 @@ - name: Install Spotify flatpak become: yes + tags: spotify community.general.flatpak: name: https://dl.flathub.org/repo/appstream/com.spotify.Client.flatpakref state: present @@ -7,15 +8,41 @@ - name: Install Steam snap become: yes + tags: steam community.general.snap: name: - steam state: present +- name: Enable i386 architecture + become: yes + tags: steam + command: dpkg --add-architecture i386 + +- name: Steam extras (32bit libraries) + become: yes + tags: steam + package: + name: + - libnvidia-gl-555:i386 + - name: Install Codium snap become: yes + tags: vscode community.general.snap: name: - code classic: true state: present + +- name: Install Chrome + become: yes + tags: chrome + apt: + deb: https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb + +- name: Install Slack + become: yes + tags: slack + apt: + deb: https://downloads.slack-edge.com/desktop-releases/linux/x64/4.39.88/slack-desktop-4.39.88-amd64.deb \ No newline at end of file diff --git a/roles/gnome/tasks/main.yml b/roles/gnome/tasks/main.yml index abbc09c..25ffb66 100644 --- a/roles/gnome/tasks/main.yml +++ b/roles/gnome/tasks/main.yml @@ -5,5 +5,6 @@ - ubuntu-desktop - task-gnome-desktop - gnome-shell-extensions + - gnome-shell-extension-manager - flatpak state: present diff --git a/roles/gui_apps/tasks/main.yml b/roles/gui_apps/tasks/main.yml index fd4655c..9bda7a3 100644 --- a/roles/gui_apps/tasks/main.yml +++ b/roles/gui_apps/tasks/main.yml @@ -12,12 +12,6 @@ - transmission-gtk state: present -- name: Install Chrome - become: yes - tags: chrome - apt: - deb: https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb - - name: Install fastfetch become: yes tags: fastfetch diff --git a/roles/nvidia/tasks/main.yml b/roles/nvidia/tasks/main.yml index 447f951..0640f47 100644 --- a/roles/nvidia/tasks/main.yml +++ b/roles/nvidia/tasks/main.yml @@ -4,4 +4,6 @@ name: - nvidia-driver-555 - nvidia-dkms-555 - state: present \ No newline at end of file + state: present + + sudo dpkg --add-architecture i386 \ No newline at end of file diff --git a/roles/ppa/tasks/main.yml b/roles/ppa/tasks/main.yml index f6fa854..bc69fe6 100644 --- a/roles/ppa/tasks/main.yml +++ b/roles/ppa/tasks/main.yml @@ -4,6 +4,13 @@ repo: 'ppa:zhangsongcui3371/fastfetch' state: present +- name: Install packages + become: yes + package: + name: + - fastfetch + state: present + - name: Add nVidia apt_repository: validate_certs: no