From c78ea00ae47c51e1eb7dc7c8de393f9b31c3598f Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Thu, 27 Jul 2023 23:38:09 +0100 Subject: [PATCH] Add ferdium role, prep for removing webcatalog In the trend of 2023 enshitification webcatalog has decided to stop shipping a Linux version so I'll be moving to fetdium with a self-hosted server moving forwards. --- playbooks/UnixGUI.yaml | 2 +- playbooks/Windows.yaml | 1 + roles/ferdium/tasks/main.yaml | 17 +++++++++++++++++ 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 roles/ferdium/tasks/main.yaml diff --git a/playbooks/UnixGUI.yaml b/playbooks/UnixGUI.yaml index dab2d80..140b26c 100644 --- a/playbooks/UnixGUI.yaml +++ b/playbooks/UnixGUI.yaml @@ -2,6 +2,6 @@ - hosts: localhost roles: - role: 1password + - role: ferdium - role: fonts - role: obsidian - - role: webcatalog diff --git a/playbooks/Windows.yaml b/playbooks/Windows.yaml index 626e861..e0ccb9c 100644 --- a/playbooks/Windows.yaml +++ b/playbooks/Windows.yaml @@ -23,6 +23,7 @@ - role: 1password - role: autohotkey + - role: ferdium - role: firefox - role: obsidian - role: powertoys diff --git a/roles/ferdium/tasks/main.yaml b/roles/ferdium/tasks/main.yaml new file mode 100644 index 0000000..a70ee8f --- /dev/null +++ b/roles/ferdium/tasks/main.yaml @@ -0,0 +1,17 @@ +--- +- name: install homebrew package + when: ansible_os_family == 'Darwin' + homebrew_cask: + name: ferdium + state: latest + +- when: ansible_os_family == 'Windows' + win_chocolatey: + name: ferdium + state: latest + +- name: install flatpak package + when: ansible_os_family != 'Windows' and + ansible_os_family != 'Darwin' + flatpak: + name: org.ferdium.Ferdium