Make all templates local, ensure ssh keys for amd64 builds are generated on first boot

This commit is contained in:
Ana Custura 2026-03-24 11:25:10 +00:00
parent 0fa18af48e
commit c22e6ed557
14 changed files with 459 additions and 59 deletions

View file

@ -33,19 +33,12 @@
changed_when: false
- name: Download keanu-weblite config file
ansible.builtin.get_url:
url: "{{ config_base_url }}/keanu-weblite-config.json"
ansible.builtin.template:
src: "templates/keanu-weblite-config.json.j2"
dest: /tmp/keanu-weblite/src/assets/config.json
mode: '0644'
delegate_to: localhost
- name: Replace REPLACEME with butter_name in config.json
ansible.builtin.replace:
path: /tmp/keanu-weblite/src/assets/config.json
regexp: 'REPLACEME'
replace: "{{ butter_name }}"
delegate_to: localhost
- name: Run npm build with legacy OpenSSL option
ansible.builtin.shell: |
export NODE_OPTIONS=--openssl-legacy-provider