Skip to content

Commit

Permalink
Temporarily disable some work-related installations
Browse files Browse the repository at this point in the history
  • Loading branch information
OrBin committed Dec 2, 2023
1 parent 3eaf9fd commit 94cbc68
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions tasks/developer-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@

# TODO install IDE extensions (e.g. TabNine)

- name: Install VS Code
community.general.flatpak:
name: com.visualstudio.code
when: computer_type == "work"
#- name: Install VS Code
# community.general.flatpak:
# name: com.visualstudio.code
# when: computer_type == "work"

- name: Install Postman
community.general.flatpak:
Expand Down Expand Up @@ -222,12 +222,12 @@
name: robertdebock.terraform
become: yes

- name: Install snapcraft
snap:
name: snapcraft
classic: yes
when: computer_type == "work"
become: yes
#- name: Install snapcraft
# snap:
# name: snapcraft
# classic: yes
# when: computer_type == "work"
# become: yes

- name: Install zsh-completions (homebrew)
community.general.homebrew:
Expand All @@ -254,20 +254,20 @@
- fzf
state: latest

Check warning on line 255 in tasks/developer-tools.yml

View workflow job for this annotation

GitHub Actions / test

[LOW] Unpinned Package Version

Setting state to latest performs an update and installs additional packages possibly resulting in performance degradation or loss of service

- name: Get latest version of buf
community.general.github_release:
user: bufbuild
repo: buf
action: latest_release
register: buf_latest_release
when: computer_type == "work"

- name: Download buf
get_url:
url: "https://github.com/bufbuild/buf/releases/download/{{buf_latest_release.tag}}/buf-{{ ansible_system }}-{{ ansible_userspace_architecture }}"
dest: /usr/local/bin/buf
mode: "0755"
become: yes
when: computer_type == "work"
#- name: Get latest version of buf
# community.general.github_release:
# user: bufbuild
# repo: buf
# action: latest_release
# register: buf_latest_release
# when: computer_type == "work"

#- name: Download buf
# get_url:
# url: "https://github.com/bufbuild/buf/releases/download/{{buf_latest_release.tag}}/buf-{{ ansible_system }}-{{ ansible_userspace_architecture }}"
# dest: /usr/local/bin/buf
# mode: "0755"
# become: yes
# when: computer_type == "work"

# TODO add VirtualBox, gitignore

0 comments on commit 94cbc68

Please sign in to comment.