Skip to content

Commit

Permalink
revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
alf-cactus committed Dec 20, 2024
1 parent 957ab47 commit 7477639
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions roles/lib/tasks/install_wkhtml_pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,29 +52,4 @@

become: true
environment: "{{ proxy_env }}"

# get google chrome for pdf generation
- name: get last known good versions of chrome to download
uri:
url: https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions-with-downloads.json
register: chrome_versions

- name: parse latest stable versions for chrome
set_fact:
stable_chrome_versions: "{{ chrome_versions['json']['channels']['Stable']['downloads']['chrome'] }}"

- block:
- name: install unzip
package:
name: unzip
state: present

- name: download google chrome and unpack
unarchive:
src: "{{ stable_chrome_versions | selectattr('platform', 'match', 'linux64') | map(attribute='url') | first }}"
dest: /usr/local/bin
remote_src: yes

become: true
environment: "{{ proxy_env }}"

0 comments on commit 7477639

Please sign in to comment.