Skip to content

Instantly share code, notes, and snippets.

@carreirorco
Created September 2, 2021 00:26
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 carreirorco/9fd7d5fa5acd532ecc8d076e5c37191d to your computer and use it in GitHub Desktop.
Save carreirorco/9fd7d5fa5acd532ecc8d076e5c37191d to your computer and use it in GitHub Desktop.
---
- hosts: localhost
tasks:
- name: Add the flathub flatpak repository remote to the user installation
community.general.flatpak_remote:
name: flathub
state: present
flatpakrepo_url: https://dl.flathub.org/repo/flathub.flatpakrepo
method: user
- name: Install the Visual Studio Code package from flathub for current user
community.general.flatpak:
name: com.visualstudio.code
state: present
method: user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment