Skip to content

Commit 4bb09bf

Browse files
committed
Oops, wrong repo. Issue #94.
1 parent c4b485c commit 4bb09bf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tasks/setup-Debian.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,19 @@
3434

3535
- name: Set URI for Ondrej's repo (Ubuntu).
3636
ansible.builtin.set_fact:
37-
ondrej_repo_uri: https://ppa.launchpadcontent.net/ondrej/php/ubuntu
37+
ondrej_repo_uri: "https://ppa.launchpadcontent.net/ondrej/php/ubuntu"
3838
when: ansible_distribution == "Ubuntu"
3939

4040
- name: Set URI for Ondrej's repo (Debian).
4141
ansible.builtin.set_fact:
42-
ondrej_repo_uri: https://packages.sury.org/php/dists/bullseye/
42+
ondrej_repo_uri: "https://packages.sury.org/php/dists/{{ ansible_facts['distribution_release'] }}/"
4343
when: ansible_distribution == "Debian"
4444

4545
- name: Add Ondrej's PHP repo.
4646
become: true
4747
ansible.builtin.deb822_repository:
4848
state: present
49-
name: "ondrej-php-{{ ansible_distribution_release }}"
49+
name: "ondrej-php-{{ ansible_facts['distribution_release'] }}"
5050
types: [deb]
5151
uris: ["{{ ondrej_repo_uri }}"]
5252
suites: ["{{ ansible_facts['distribution_release'] }}"]

0 commit comments

Comments
 (0)