From 4258dac2517c5e4d057b4f6cdeb493900b3ddb54 Mon Sep 17 00:00:00 2001 From: Matthew Rees Date: Fri, 14 Nov 2014 16:48:21 +0200 Subject: [PATCH] Change to shell from command --- roles/ceph-radosgw/tasks/install_debian.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/ceph-radosgw/tasks/install_debian.yml b/roles/ceph-radosgw/tasks/install_debian.yml index aff7cd21f..970da1fc4 100644 --- a/roles/ceph-radosgw/tasks/install_debian.yml +++ b/roles/ceph-radosgw/tasks/install_debian.yml @@ -10,12 +10,12 @@ # 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 -- 2.39.5