refactor: add zsync and Zen browser tasks, update default applications and configurations
Some checks failed
Nix Format Check / check-format (push) Failing after 1m6s
Some checks failed
Nix Format Check / check-format (push) Failing after 1m6s
This commit is contained in:
14
config/ansible/tasks/workstations/zen-browser.yml
Normal file
14
config/ansible/tasks/workstations/zen-browser.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
- name: Check if Zen browser is installed
|
||||
stat:
|
||||
path: ~/.local/share/AppImage/ZenBrowser.AppImage
|
||||
register: zen_browser_installed
|
||||
|
||||
- name: Install Zen browser
|
||||
ansible.builtin.command: >
|
||||
echo "1" | bash <(curl https://updates.zen-browser.app/appimage.sh)
|
||||
when: not zen_browser_installed.stat.exists
|
||||
|
||||
- name: Update Zen browser
|
||||
ansible.builtin.command: >
|
||||
echo "3" | bash <(curl https://updates.zen-browser.app/appimage.sh)
|
||||
when: zen_browser_installed.stat.exists
|
||||
Reference in New Issue
Block a user