about to reinstall
This commit is contained in:
parent
655240157c
commit
623f575c7a
43
roles/docker/tasks/main.yml
Normal file
43
roles/docker/tasks/main.yml
Normal 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
|
7
roles/nvidia/tasks/main.yml
Normal file
7
roles/nvidia/tasks/main.yml
Normal 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
11
roles/ppa/tasks/main.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user