Install RPMFusion RPMs and fix warning for VSCode

Closes #18

Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
Matej Focko 2020-10-17 13:41:25 +02:00
parent c52ced59e5
commit bf1cce91fa
No known key found for this signature in database
GPG key ID: DE0CF444096A468D
2 changed files with 12 additions and 1 deletions

View file

@ -1,4 +1,15 @@
--- ---
- name: Get version of Fedora
shell: rpm -E %fedora
register: fedora_version
- name: Install RPMFusion RPMs with GPG keys
dnf:
name:
- "https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-{{ fedora_version.stdout }}.noarch.rpm"
- "https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-{{ fedora_version.stdout }}.noarch.rpm"
state: present
- name: Install Google Chrome repository - name: Install Google Chrome repository
template: template:
src: templates/google-chrome.repo.j2 src: templates/google-chrome.repo.j2

View file

@ -1,7 +1,7 @@
--- ---
- name: Create directories for VSCode - name: Create directories for VSCode
file: file:
path: {{ item }} path: "{{ item }}"
state: directory state: directory
loop: loop:
- ~/.local/bin - ~/.local/bin