Skip to content

Instantly share code, notes, and snippets.

@bgulla
Created November 24, 2022 02:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bgulla/5004cc6daf8af31955d34bfa1a96682e to your computer and use it in GitHub Desktop.
Save bgulla/5004cc6daf8af31955d34bfa1a96682e to your computer and use it in GitHub Desktop.
Google Coral GPU Ubuntu playbook
---
- hosts: all
tasks:
# ansible all -i closet.lark.lol -u root coral-playbook.yaml
# deb https://packages.cloud.google.com/apt coral-edgetpu-stable main
# https://packages.cloud.google.com/apt/doc/apt-key.gpg
- name: Add an Apt signing key, uses whichever key is at the URL
ansible.builtin.apt_key:
url: https://packages.cloud.google.com/apt/doc/apt-key.gpg
state: present
- name: Add specified repository into sources list
ansible.builtin.apt_repository:
repo: deb https://packages.cloud.google.com/apt coral-edgetpu-stable main
state: present
- name: Update repositories cache and install "libedgetpu1-std" package
ansible.builtin.apt:
name: libedgetpu1-std
update_cache: yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment