mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
debug
This commit is contained in:
parent
04c15cd662
commit
7424dc57fc
1 changed files with 9 additions and 1 deletions
|
|
@ -10,10 +10,18 @@
|
||||||
src: /ostree/deploy/default/var/lib/flatpak/repo/flathub.trustedkeys.gpg
|
src: /ostree/deploy/default/var/lib/flatpak/repo/flathub.trustedkeys.gpg
|
||||||
register: found_gpg
|
register: found_gpg
|
||||||
|
|
||||||
|
- name: debug
|
||||||
|
ansible.builtin.debug:
|
||||||
|
var: found_gpg
|
||||||
|
|
||||||
- name: Get gpg key
|
- name: Get gpg key
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
expected_gpg: "{{ lookup('ansible.builtin.url', 'https://flathub.org/repo/flathub.flatpakrepo', split_lines=True) | regex_search('^GPGKey=(.*)$', '\\1', multiline=True, ignorecase=True) }}"
|
expected_gpg: "{{ lookup('ansible.builtin.url', 'https://flathub.org/repo/flathub.flatpakrepo', split_lines=True) | regex_search('^GPGKey=(.*)$', '\\1', multiline=True, ignorecase=True) }}"
|
||||||
|
|
||||||
|
- name: debug
|
||||||
|
ansible.builtin.debug:
|
||||||
|
var: expected_gpg
|
||||||
|
|
||||||
- name: Test GPG key
|
- name: Test GPG key
|
||||||
ansible.builtin.assert:
|
ansible.builtin.assert:
|
||||||
that:
|
that:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue