fix(branding,siguldry): deploy Forgejo DNF repo and fix local tool check
- Configure mxos-packages DNF repository to allow siguldry-pkcs11 package resolution. - Verify if rsvg-convert exists on localhost to bypass become/dnf installation check when passwordless sudo is unavailable. - Align PKCS#11 module path to /usr/lib64/pkcs11/libsiguldry_pkcs11.so in spooler and docs. Co-developed-by: Gemini AI <renich+gemini@woralelandia.com> Signed-off-by: Rénich Bon Ćirić <renich@woralelandia.com>
This commit is contained in:
parent
d30b0959ee
commit
96c7d426e5
4 changed files with 20 additions and 3 deletions
|
|
@ -398,11 +398,18 @@
|
|||
delegate_to: localhost
|
||||
run_once: true
|
||||
block:
|
||||
- name: Check if rsvg-convert is installed on localhost
|
||||
ansible.builtin.command: which rsvg-convert
|
||||
register: rsvg_check
|
||||
ignore_errors: true
|
||||
changed_when: false
|
||||
|
||||
- name: Ensure librsvg2-tools is installed on localhost (Fedora)
|
||||
ansible.builtin.dnf:
|
||||
name: librsvg2-tools
|
||||
state: present
|
||||
become: true
|
||||
when: rsvg_check.rc != 0
|
||||
|
||||
- name: Convert main logo SVG to PNG
|
||||
ansible.builtin.command:
|
||||
|
|
|
|||
Loading…
Reference in a new issue