Some checks failed
Nix Format Check / check-format (push) Failing after 1m6s
15 lines
485 B
YAML
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
|