diff --git a/roles/firefox/tasks/main.yml b/roles/firefox/tasks/main.yml index 50b9808..995ea6b 100644 --- a/roles/firefox/tasks/main.yml +++ b/roles/firefox/tasks/main.yml @@ -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" \ No newline at end of file + when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "22.04" + +- import_tasks: update-alternatives.yml \ No newline at end of file diff --git a/roles/firefox/tasks/update-alternatives.yml b/roles/firefox/tasks/update-alternatives.yml new file mode 100644 index 0000000..e20c83a --- /dev/null +++ b/roles/firefox/tasks/update-alternatives.yml @@ -0,0 +1,3 @@ +- name: Set firefox as x-www-browser + become: yes + cmd: update-alternatives --set x-www-browser /usr/bin/firefox \ No newline at end of file