From fa6987171a4656f5da359d6ffa1c4b125a07a122 Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Fri, 5 Feb 2016 13:37:43 +0100 Subject: [PATCH] Optimize mode and ownership changes --- tasks/oci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tasks/oci.yml b/tasks/oci.yml index 9f57548..235043d 100644 --- a/tasks/oci.yml +++ b/tasks/oci.yml @@ -44,7 +44,11 @@ command: mv /tmp/oracle_x64_11_2_0_3_0_pdo_oci_so /usr/lib/php5/20090626/pdo_oci.so - name: "PHP | OCI | Change ownership for Oracle InstantClient" - command: chown -R root:root {{ item }} + file: + path="{{ item }}" + owner="root" + group="root" + recurse=yes with_items: - /usr/local/lib/instantclient_11_2 - /usr/lib/php5/20090626/oci8.so -- GitLab