diff --git a/tasks/oci.yml b/tasks/oci.yml index 9f5754873d21a1c3ce76d21489e6f93f0d835d41..235043db8c001f86e8b24f63e03ff0581b2cc30b 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