Skip to content

Commit

Permalink
Don't enable Ondrej repo on Ubuntu 24.04.
Browse files Browse the repository at this point in the history
  • Loading branch information
geerlingguy committed Jul 31, 2024
1 parent 6d25f7a commit c30d976
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion molecule/default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@
- name: Add Ondrej Sury's repo for PHP 8 (Ubuntu).
apt_repository:
repo: 'ppa:ondrej/php'
when: ansible_distribution == 'Ubuntu'
when:
- ansible_distribution == 'Ubuntu'
- ansible_distribution_major_version <= 22

- name: Add Ondrej Sury's apt key (Debian).
apt_key:
Expand Down

0 comments on commit c30d976

Please sign in to comment.