Skip to content
Snippets Groups Projects
Verified Commit 0ba45688 authored by Chris Croome's avatar Chris Croome
Browse files

fail for /usr/share/keyrings/deb.sury.org-php.gpg

parent a147a146
No related branches found
No related tags found
No related merge requests found
Pipeline #32870 passed
......@@ -31,6 +31,13 @@
path: /usr/share/keyrings/deb.sury.org-php.gpg
register: php_apt_key_path
- name: The https://packages.sury.org/debsuryorg-archive-keyring.deb package is required
ansible.builtin.assert:
that:
- php_apt_key_path.stat.exists | bool
quiet: "{% if ansible_check_mode or ansible_verbosity >= 1 %}false{% else %}true{% endif %}"
fail_msg: The GPG key provided by debsuryorg-archive-keyring.deb is required to configure the Sury PHP repo.
- name: Configure the Sury apt repo when the GPG public key is present
block:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment