File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 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'] }}"]
You can’t perform that action at this time.
0 commit comments