Skip to content

Commit

Permalink
Clean up more yaml formatting errors found with lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sdake committed Aug 6, 2024
1 parent 37c53a1 commit 9f53eaa
Show file tree
Hide file tree
Showing 11 changed files with 30 additions and 33 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/cobalt_build.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
name: Build and Deploy Blog

on:
push:
branches:
- 'gh-pages-*'

jobs:
build-deploy:
runs-on: ubuntu-latest
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/docker_build.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
---
name: Build Docker images

on:
push:
branches: main
pull_request:
branches: main

jobs:
build:
strategy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
become: true
tasks:
- import_role:
name: packer-finalize
name: packer-finalize
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ansible.builtin.apt:
name: gpg
state: present

- name: Install Ansible
become: true
become_user: root
Expand Down
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
---
- name: Install gpg
become: yes
become: true
become_user: root
ansible.builtin.apt:
name: gpg
state: present

- name: Enable Debian contrib
become: yes
become: true
become_user: root
ansible.builtin.apt_repository:
repo: "deb http://http.us.debian.org/debian bookworm main contrib"
state: present

- name: Install and enable NVIDIA CUDA repository
become: yes
become: true
become_user: root
ansible.builtin.apt:
deb: https://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64/cuda-keyring_1.1-1_all.deb
state: present

- name: Install NVIDIA CUDA Drivers 535
become: yes
become: true
become_user: root
ansible.builtin.apt:
name: cuda-drivers-535
state: "present"
update_cache: true

- name: Install NVIDIA CUDA 11.8
become: yes
become: true
become_user: root
ansible.builtin.apt:
name: "{{ item }}"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
---
- name: Install gpg
become: yes
become: true
become_user: root
ansible.builtin.apt:
name: gpg
state: present

- name: Enable Debian contrib
become: yes
become: true
become_user: root
ansible.builtin.apt_repository:
repo: "deb http://http.us.debian.org/debian bookworm main contrib"
state: present

- name: Install and enable NVIDIA CUDA repository
become: yes
become: true
become_user: root
ansible.builtin.apt:
deb: https://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64/cuda-keyring_1.1-1_all.deb
state: present

- name: Install NVIDIA CUDA Drivers 535
become: yes
become: true
become_user: root
ansible.builtin.apt:
name: cuda-drivers-535
state: "present"
update_cache: true

- name: Install NVIDIA CUDA 12.2
become: yes
become: true
become_user: root
ansible.builtin.apt:
name: "{{ item }}"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
---
- name: Install gpg
become: yes
become: true
become_user: root
ansible.builtin.apt:
name: gpg
state: present

- name: Enable Debian contrib
become: yes
become: true
become_user: root
ansible.builtin.apt_repository:
repo: "deb http://http.us.debian.org/debian bookworm main contrib"
state: present

- name: Install and enable NVIDIA CUDA repository
become: yes
become: true
become_user: root
ansible.builtin.apt:
deb: https://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64/cuda-keyring_1.1-1_all.deb
state: present

- name: Install NVIDIA CUDA 12.6
become: yes
become: true
become_user: root
ansible.builtin.apt:
name: "{{ item }}"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
- name: Install Debian Packaging tool debspawn
become: yes
become: true
become_user: root
ansible.builtin.apt:
name: debspawn
Expand Down
20 changes: 10 additions & 10 deletions platform/golden/provisioners/roles/install_docker/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,62 +2,62 @@
# https://docs.docker.com/engine/install/debian/

- name: Install gnupg
become: yes
become: true
become_user: root
ansible.builtin.apt:
name: gnupg
state: present

- name: Install ca-certificates
become: yes
become: true
become_user: root
ansible.builtin.apt:
name: ca-certificates
state: present

- name: Install curl
become: yes
become: true
become_user: root
ansible.builtin.apt:
name: curl
state: present

- name: Install Docker's GPG key
become: yes
become: true
become_user: root
ansible.builtin.apt_key:
url: "https://download.docker.com/linux/debian/gpg"
keyring: "/etc/apt/keyrings/docker.gpg"
state: present

- name: Install Docker Engine APT repository
become: yes
become: true
become_user: root
ansible.builtin.apt_repository:
repo: "deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian bookworm stable"
update_cache: yes
update_cache: true
state: present

- name: Install docker-ce
become: yes
become: true
become_user: root
ansible.builtin.apt:
name: docker-ce

- name: Install docker-ce-cli
become: yes
become: true
become_user: root
ansible.builtin.apt:
name: docker-ce-cli

- name: Install containerd.io
become: yes
become: true
become_user: root
ansible.builtin.apt:
name: containerd.io

- name: Install docker-buildx-plugin
become: yes
become: true
become_user: root
ansible.builtin.apt:
name: docker-buildx-plugin
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ansible.builtin.apt:
name: gpg
state: present

- name: Install Packer gpg key
become: true
become_user: root
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@
become: true
ansible.builtin.command:
cmd: update-grub2

0 comments on commit 9f53eaa

Please sign in to comment.