# Needed for Ubuntu 12.04 to have access to libapache2-mod-fastcgi if 100-continue isn't being used
- name: Enable multiverse repo for Precise
- command: "sed -i '/^# deb .* multiverse$/ s/^# //' /etc/apt/sources.list"
+ shell: "sed -i '/^# deb .* multiverse$/ s/^# //' /etc/apt/sources.list"
when: ansible_lsb.codename in ['precise'] and not http_100_continue
# Disable the repo when we are using the Ceph repo for 100-continue packages
- name: Disable multiverse repo for Precise
- command: "sed -i '/^deb .* multiverse$/ s/^/# /' /etc/apt/sources.list"
+ shell: "sed -i '/^deb .* multiverse$/ s/^/# /' /etc/apt/sources.list"
when: ansible_lsb.codename in ['precise'] and http_100_continue
# Needed for Ubuntu 14.04 to have access to libapache2-mod-fastcgi if 100-continue isn't being used