File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 3535- 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 }}"
38+ # Remove 'Comment' because response can be out of order.
39+ # See: https://github.com/geerlingguy/ansible-role-php-versions/issues/94
40+ ondrej_repo_signed_by : " {{ keyserver_response.content | regex_replace('\n Comment.+\n ','\n ') }}"
3941 when : ansible_distribution == "Ubuntu"
4042
43+ - debug : var=ondrej_repo_signed_by
44+
4145- name : Set data for Ondrej's repo (Debian).
4246 ansible.builtin.set_fact :
4347 ondrej_repo_uri : " https://packages.sury.org/php"
4448 ondrej_repo_signed_by : " https://packages.sury.org/php/apt.gpg"
4549 when : ansible_distribution == "Debian"
4650
47- - debug : var=ondrej_repo_signed_by
48-
4951- name : Add Ondrej's PHP repo.
5052 become : true
5153 ansible.builtin.deb822_repository :
You can’t perform that action at this time.
0 commit comments