adding various bits.

This commit is contained in:
2023-04-12 19:24:13 -07:00
parent 78bb2c64b7
commit fc983b39a6
5 changed files with 289 additions and 3 deletions

View File

@@ -242,6 +242,8 @@
become: true
ansible.builtin.apt: name=code state=present
## rust
- name: check if cargo is installed
@@ -287,3 +289,40 @@
- scipy
- tensorflow
- torch
- name: install balena etcher repo key
become: true
when: (dev_full or dev_embedded) and not headless
ansible.builtin.apt_key:
url: https://dl.cloudsmith.io/public/balena/etcher/gpg.70528471AFF9A051.key
state: present
- name: setup balena etcher repo
become: true
when: (dev_full or dev_embedded) and not headless
ansible.builtin.apt_repository:
repo: 'deb https://dl.cloudsmith.io/public/balena/etcher/deb/ubuntu jammy main'
state: present
- name: setup balena etcher source repo
become: true
when: (dev_full or dev_embedded) and not headless
ansible.builtin.apt_repository:
repo: 'deb-src https://dl.cloudsmith.io/public/balena/etcher/deb/ubuntu jammy main'
state: present
- name: install balena etcher
become: true
when: (dev_full or dev_embedded) and not headless
ansible.builtin.apt: name=balena-etcher-electron state=present
- name: link etcher to /usr/bin
become: true
when: (dev_full or dev_embedded) and not headless
ansible.builtin.file:
src: /opt/balenaEtcher/balena-etcher-electron
dest: /usr/local/bin/etcher
owner: root
group: root
mode: 0755
state: link