From: Christian Heller Date: Sun, 17 Sep 2017 18:40:19 +0000 (+0200) Subject: Replace qutebrowser with palemoon as standard browser. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/blog?a=commitdiff_plain;h=2b50059ff7d887f00a9a1f70acef9fb300624203;p=config Replace qutebrowser with palemoon as standard browser. --- diff --git a/ansible/config_new.yml b/ansible/config_new.yml index 9f08e21..47ffbd3 100644 --- a/ansible/config_new.yml +++ b/ansible/config_new.yml @@ -16,6 +16,10 @@ shell: hostname {{ system_name }} # Init package management. + - name: add palemoon repo signing key + apt_key: + url: https://download.opensuse.org/repositories/home:stevenpusser/Debian_9.0/Release.key + state: present - name: update package lists apt: update_cache=yes - name: APT - dist-upgrade @@ -87,9 +91,9 @@ apt: name={{item}} state=present with_lines: cat ~/config/ansible/files/apt-mark_new/minimal/basic_x_tools | sed -e 's/ *#.*$//' - # Set up qutebrowser. - - name: ensure qutebrowser - include: tasks/qutebrowser.yml + ## Set up browser environment. + #- name: ensure qutebrowser + # include: tasks/qutebrowser.yml - name: ensure browser environment apt: name={{item}} state=present with_lines: cat ~/config/ansible/files/apt-mark_new/minimal/browser_environment | sed -e 's/ *#.*$//' diff --git a/ansible/files/apt-mark_new/minimal/browser_environment b/ansible/files/apt-mark_new/minimal/browser_environment index bbc220a..536ea49 100644 --- a/ansible/files/apt-mark_new/minimal/browser_environment +++ b/ansible/files/apt-mark_new/minimal/browser_environment @@ -1 +1 @@ -qutebrowser +palemoon diff --git a/ansible/files/system_new/minimal/___etc___apt___sources.list.d___palemoon.list b/ansible/files/system_new/minimal/___etc___apt___sources.list.d___palemoon.list new file mode 100644 index 0000000..f90488e --- /dev/null +++ b/ansible/files/system_new/minimal/___etc___apt___sources.list.d___palemoon.list @@ -0,0 +1 @@ +deb http://download.opensuse.org/repositories/home:/stevenpusser/Debian_9.0/ / diff --git a/ansible/tasks/qutebrowser.yml b/ansible/tasks/qutebrowser.yml index fdd4af2..916c854 100644 --- a/ansible/tasks/qutebrowser.yml +++ b/ansible/tasks/qutebrowser.yml @@ -7,7 +7,6 @@ qutebrowser_deb_path: /tmp/qutebrowser.deb python3pypeg2_deb_path: /tmp/python3-pypeg2.deb - - name: Check if qutebrowser is installed. command: dpkg-query -W qutebrowser register: qutebrowser_debcheck