diff --git a/tasks/workstation/linux/software/packages.yml b/tasks/workstation/linux/software/packages.yml index 0bc243a..6fdc63f 100644 --- a/tasks/workstation/linux/software/packages.yml +++ b/tasks/workstation/linux/software/packages.yml @@ -14,6 +14,8 @@ - "dnf install -y https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm" - "dnf config-manager --enable rpmfusion-nonfree" - "dnf config-manager --enable rpmfusion-nonfree-updates" + register: shell_check + changed_when: shell_check.rc == 0 when: ansible_distribution == "Fedora" @@ -88,6 +90,9 @@ state: present when: ansible_service_mgr != "systemd" +# TBD/TODO: Change the below AUR tasks to echo EXISTS, INSTALLED, or FAILED +# and then catch it, similar to what's done in android.yml and others. + - name: Workstation | Linux | Software | Packages | Install From AUR ansible.builtin.shell: "yay -Qs {{ item }} || yay --noconfirm -S {{ item }}" loop: