From dc1631929c632f619b29728ef8836138762d29d8 Mon Sep 17 00:00:00 2001 From: Caleb Fultz Date: Mon, 15 Jul 2024 17:27:49 +0000 Subject: [PATCH] fixed flatpak url ref and added fastfetch deb --- roles/base/tasks/main.yml | 16 +++++++----- roles/docker/tasks/main.yml | 52 ++++++++++++++++++------------------- 2 files changed, 35 insertions(+), 33 deletions(-) diff --git a/roles/base/tasks/main.yml b/roles/base/tasks/main.yml index 6438b3f..6bc16b5 100644 --- a/roles/base/tasks/main.yml +++ b/roles/base/tasks/main.yml @@ -22,6 +22,7 @@ - ubuntu-desktop - task-gnome-desktop - gnome-shell-extensions + - flatpak state: present - name: Install GUI apps @@ -40,11 +41,8 @@ - name: Install flatpaks become: yes - package: - name: flatpak - state: present community.general.flatpak: - name: https://s3.amazonaws.com/alexlarsson/spotify-repo/spotify.flatpakref + name: https://dl.flathub.org/repo/appstream/com.spotify.Client.flatpakref state: present @@ -55,7 +53,7 @@ - steam - code state: present - + - name: Install Codium snap become: yes community.general.snap: @@ -68,4 +66,10 @@ become: yes tags: chrome apt: - deb: https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb + deb: https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb + +- name: Install fastfetch + become: yes + tags: fastfetch + apt: + deb: https://github.com/fastfetch-cli/fastfetch/releases/download/2.18.1/fastfetch-linux-amd64.deb diff --git a/roles/docker/tasks/main.yml b/roles/docker/tasks/main.yml index 0120a04..0a9e69d 100644 --- a/roles/docker/tasks/main.yml +++ b/roles/docker/tasks/main.yml @@ -1,26 +1,26 @@ - name: Install aptitude - apt: - name: aptitude - state: present - update_cache: true + apt: + name: aptitude + state: present + update_cache: true - name: Install required system packages - apt: - pkg: - - apt-transport-https - - ca-certificates - - curl - - software-properties-common - - python3-pip - - virtualenv - - python3-setuptools - state: latest - update_cache: true + apt: + pkg: + - apt-transport-https + - ca-certificates + - curl + - software-properties-common + - python3-pip + - virtualenv + - python3-setuptools + state: latest + update_cache: true - name: Add Docker GPG apt Key apt_key: - url: https://download.docker.com/linux/ubuntu/gpg - state: present + url: https://download.docker.com/linux/ubuntu/gpg + state: present - name: Add Docker Repository apt_repository: @@ -29,15 +29,13 @@ - name: Update apt and install docker-ce apt: - name: - - docker-ce - - docker-ce-cli - - containerd.io - - docker-buildx-plugin - - docker-compose-plugin - state: latest - update_cache: true + name: + - docker-ce + - docker-ce-cli + - containerd.io + - docker-buildx-plugin + - docker-compose-plugin - name: Install Docker Module for Python - pip: - name: docker \ No newline at end of file + pip: + name: docker