about to reinstall

This commit is contained in:
Caleb Fultz 2024-07-14 11:11:17 -04:00
parent 655240157c
commit 623f575c7a
4 changed files with 65 additions and 1 deletions

View File

@ -0,0 +1,43 @@
- name: Install aptitude
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
- name: Add Docker GPG apt Key
apt_key:
url: https://download.docker.com/linux/ubuntu/gpg
state: present
- name: Add Docker Repository
apt_repository:
repo: deb https://download.docker.com/linux/ubuntu focal stable
state: present
- 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: Install Docker Module for Python
pip:
name: docker

View File

@ -0,0 +1,7 @@
- name: Install nVidia Drivers
become: yes
package:
name:
- nvidia-driver-555
- nvidia-dkms-555
state: present

11
roles/ppa/tasks/main.yml Normal file
View File

@ -0,0 +1,11 @@
- name: Add neofetch
apt_repository:
validate_certs: no
repo: 'ppa:zhangsongcui3371/fastfetch'
state: present
- name: Add nVidia
apt_repository:
validate_certs: no
repo: 'ppa:graphics-drivers/ppa'
state: present

View File

@ -13,4 +13,7 @@
- hosts: all
become: true
roles:
- base
- base
- ppa
- docker
- nvidia