diff --git a/playbooks/roles/fedora/repositories/tasks/main.yml b/playbooks/roles/fedora/repositories/tasks/main.yml index 3cf6008..05847fe 100644 --- a/playbooks/roles/fedora/repositories/tasks/main.yml +++ b/playbooks/roles/fedora/repositories/tasks/main.yml @@ -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 template: src: templates/google-chrome.repo.j2 diff --git a/playbooks/roles/vscode/tasks/main.yml b/playbooks/roles/vscode/tasks/main.yml index 23e19aa..0d8636d 100644 --- a/playbooks/roles/vscode/tasks/main.yml +++ b/playbooks/roles/vscode/tasks/main.yml @@ -1,7 +1,7 @@ --- - name: Create directories for VSCode file: - path: {{ item }} + path: "{{ item }}" state: directory loop: - ~/.local/bin