Skip to content

Commit e2ea1fd

Browse files
committed
Issue #94: GPG signing for Debian. Hopefully.
1 parent 808a237 commit e2ea1fd

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tasks/setup-Debian.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,16 @@
3232
method: GET
3333
register: keyserver_response
3434

35-
- name: Set URI for Ondrej's repo (Ubuntu).
35+
- name: Set data for Ondrej's repo (Ubuntu).
3636
ansible.builtin.set_fact:
3737
ondrej_repo_uri: "https://ppa.launchpadcontent.net/ondrej/php/ubuntu"
38+
ondrej_repo_signed_by: "{{ keyserver_response.content }}"
3839
when: ansible_distribution == "Ubuntu"
3940

40-
- name: Set URI for Ondrej's repo (Debian).
41+
- name: Set data for Ondrej's repo (Debian).
4142
ansible.builtin.set_fact:
4243
ondrej_repo_uri: "https://packages.sury.org/php"
44+
ondrej_repo_signed_by: "https://packages.sury.org/php/apt.gpg"
4345
when: ansible_distribution == "Debian"
4446

4547
- name: Add Ondrej's PHP repo.
@@ -51,7 +53,7 @@
5153
uris: ["{{ ondrej_repo_uri }}"]
5254
suites: ["{{ ansible_facts['distribution_release'] }}"]
5355
components: [main]
54-
signed_by: "{{ keyserver_response.content }}"
56+
signed_by: "{{ ondrej_repo_signed_by }}"
5557
register: php_ondrej_debian_repo
5658

5759
- name: Update apt caches after repo is added.

0 commit comments

Comments
 (0)