diff --git a/tasks/configure.yml b/tasks/configure.yml index 73b996dbce16ae334aa2d6b942feb24047dfc3da..7fc762ddbb93a645a9eef994c12d8ff83f05d524 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -4,12 +4,12 @@ file: path={{ composer_home_path }} state=directory owner={{ composer_home_owner }} group={{ composer_home_group }} - name: Configure composer home path - copy: dest=/etc/profile.d/composer-home.sh mode=0755 + copy: dest=/etc/profile.d/composer-home.sh mode='755' content="export COMPOSER_HOME={{ composer_home_path}}\n" when: composer_home_path is defined - name: Configure composer path environment - copy: dest=/etc/profile.d/composer-path.sh mode=0755 + copy: dest=/etc/profile.d/composer-path.sh mode='755' content="export PATH=${PATH}:{{ composer_home_path }}/vendor/bin\n" - name: Global require packages diff --git a/tasks/install.yml b/tasks/install.yml index a5d7b7e033224b01a038849acfb33c7d3f656190..8e820486e972a72d092d372c980a835d2ec50c76 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -4,4 +4,4 @@ get_url: url=https://getcomposer.org/composer.phar dest={{ composer_path }} - mode=0755 + mode='755'