Skip to content

Commit

Permalink
schleuder_web: install uglifier gem for now
Browse files Browse the repository at this point in the history
That's required to enable compilation of assets.

TODO: Drop this once fixed upstream.
  • Loading branch information
nevart committed Aug 6, 2023
1 parent 9f4e24a commit 561b066
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tasks/schleuder_web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,19 @@
ansible_ssh_pipelining: True
when: __schleuder_repo_clone.changed # noqa: no-handler

# TODO: drop once fixed upstream
- name: Install uglifier gem (when repo changed)
ansible.builtin.command: "/usr/local/bin/gem install --jobs {{ ansible_processor_cores }} uglifier"
changed_when: false
check_mode: no
args:
chdir: "{{ schleuder_schleuder_web_path }}"
become: true
become_user: "{{ schleuder_schleuder_web_user }}"
vars:
ansible_ssh_pipelining: True
when: __schleuder_repo_clone.changed and ansible_distribution_major_version|int >= 12 # noqa: no-handler

- name: Check if schleuder-web systemd unit already exists
ansible.builtin.stat:
path: "{{ schleuder_schleuder_web_systemd_path }}"
Expand Down

0 comments on commit 561b066

Please sign in to comment.