Skip to content
This repository was archived by the owner on Feb 13, 2023. It is now read-only.

Commit 26b9cd8

Browse files
committed
Issue #1093: Install Apache 2.4.9+ on Ubuntu 14.04
1 parent 665a12f commit 26b9cd8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

provisioning/tasks/init-debian.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@
2121
service: name=ufw state=stopped
2222
when: ansible_distribution == "Ubuntu" and {{ drupalvm_disable_ufw_firewall | default(true) }}
2323

24-
- name: Add repository for Apache 2.4 on Ubuntu 12.
24+
- name: Add repository for Apache 2.4.9+ on Ubuntu 12 and 14.
2525
apt_repository: repo='ppa:ondrej/apache2'
26-
when: ansible_distribution_release == "precise" and ansible_distribution == "Ubuntu"
26+
when: >
27+
(ansible_distribution_release == "precise" or ansible_distribution_release == "trusty") and
28+
ansible_distribution == "Ubuntu"
2729
2830
- name: Add repository for PHP 5.5, 5.6, 7.0 or 7.1.
2931
apt_repository: repo='ppa:ondrej/php'

0 commit comments

Comments
 (0)