Files
dotfiles/config/ansible/tasks/workstations/zen-browser.yml
2025-03-03 14:49:15 +01:00

15 lines
485 B
YAML

- 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