Skip to content
Snippets Groups Projects
Commit 4d4fba31 authored by jurgenhaas's avatar jurgenhaas
Browse files

Set permissions to composer cache before calling composer install

parent 35a7c436
No related branches found
No related tags found
No related merge requests found
......@@ -49,6 +49,15 @@
recurse: yes
follow: no
- name: Set Permissions for current user on composer cache
file:
path: /usr/local/share/cache
owner: '{{ ansible_env.SUDO_USER|default("root") }}'
group: root
mode: u+rwX,g+rwX,o+rX
recurse: yes
follow: no
- name: Run Composer
composer:
command: install
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment