Pop!_OS and Ubuntu do not have ESR in repos.

This commit is contained in:
Hyperling 2021-02-06 11:27:20 -06:00
parent 396f6cd711
commit 9398351d7e
2 changed files with 22 additions and 15 deletions

View File

@ -2,24 +2,24 @@
# Define program names per OS for package builtin. # Define program names per OS for package builtin.
# This is only for Workstation devices with UIs. # This is only for Workstation devices with UIs.
- name: Facts | Workstation | Package | Pop OS - name: Facts | Workstation | Package | Pop_OS! and Ubuntu
set_fact:
flatpak_distro: true
firefox: firefox
firefox_esr: firefox
thunderbird: thunderbird
evolution: evolution
when: ansible_distribution in ("Pop!_OS", "Ubuntu")
- name: Facts | Workstation | Package | Debian
set_fact: set_fact:
flatpak_distro: true flatpak_distro: true
firefox: firefox firefox: firefox
firefox_esr: firefox-esr firefox_esr: firefox-esr
thunderbird: thunderbird thunderbird: thunderbird
evolution: evolution evolution: evolution
when: ansible_distribution == "Pop!_OS" when: ansible_distribution in ("Debian")
- name: Facts | Workstation | Package | Debian and Ubuntu
set_fact:
flatpak_distro: true
firefox: firefox
firefox_esr: firefox-esr
thunderbird: thunderbird
evolution: evolution
when: ansible_distribution in ("Debian","Ubuntu")
- name: Facts | Workstation | Package | FreeBSD - name: Facts | Workstation | Package | FreeBSD

View File

@ -22,7 +22,7 @@
flatpak: flatpak:
name: org.shotcut.Shotcut name: org.shotcut.Shotcut
- name: Workstation | Linux | Flatpak | Do Not Use Firefox Flatpak - name: Workstation | Linux | Flatpak | Do Not Use Firefox Flatpak (It's Broke Boys!)
flatpak: flatpak:
name: org.mozilla.firefox name: org.mozilla.firefox
state: absent state: absent
@ -32,11 +32,18 @@
name: org.mozilla.Thunderbird name: org.mozilla.Thunderbird
# Repo Software # Repo Software
- name: Workstation | Linux | Flatpak | Install Firefox From Package Manager - name: Workstation | Linux | Flatpak | Install Firefox ESR From Package Manager
package: package:
name: name:
- "{{ firefox_esr }}" - "{{ firefox_esr }}"
state: present state: latest
- name: Workstation | Linux | Flatpak | Remove Normal Firefox for ESR
package:
name:
- "{{ firefox }}"
state: absent
when: "{{ firefox }} != {{ firefix_esr }}"
- name: Workstation | Linux | Flatpak | Remove Software From Package Manager - name: Workstation | Linux | Flatpak | Remove Software From Package Manager
package: package: