Set firefox as default browser
This commit is contained in:
parent
8030f44df3
commit
dcf4fa13f9
@ -3,4 +3,6 @@
|
|||||||
when: ansible_distribution == "Ubuntu" and ansible_distribution_version != "22.04"
|
when: ansible_distribution == "Ubuntu" and ansible_distribution_version != "22.04"
|
||||||
|
|
||||||
- import_tasks: ppa.yml
|
- 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
|
3
roles/firefox/tasks/update-alternatives.yml
Normal file
3
roles/firefox/tasks/update-alternatives.yml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
- name: Set firefox as x-www-browser
|
||||||
|
become: yes
|
||||||
|
cmd: update-alternatives --set x-www-browser /usr/bin/firefox
|
Loading…
Reference in New Issue
Block a user