Install RPMFusion RPMs and fix warning for VSCode
Closes #18 Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
parent
c52ced59e5
commit
bf1cce91fa
2 changed files with 12 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue