Set firefox as default browser

This commit is contained in:
Przemek Grondek 2022-10-02 12:06:26 +02:00
parent 8030f44df3
commit dcf4fa13f9
2 changed files with 6 additions and 1 deletions

View File

@ -3,4 +3,6 @@
when: ansible_distribution == "Ubuntu" and ansible_distribution_version != "22.04"
- import_tasks: ppa.yml
when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "22.04"
when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "22.04"
- import_tasks: update-alternatives.yml

View File

@ -0,0 +1,3 @@
- name: Set firefox as x-www-browser
become: yes
cmd: update-alternatives --set x-www-browser /usr/bin/firefox