diff --git a/ansible/deploy.yml b/ansible/deploy.yml index 822acb6a..94f7ed01 100644 --- a/ansible/deploy.yml +++ b/ansible/deploy.yml @@ -1,5 +1,6 @@ --- - hosts: web + become: true vars_files: - ./vars/vars.yml diff --git a/ansible/deploy/after-symlink-shared.yml b/ansible/deploy/after-symlink-shared.yml index 944d10c5..26d79fbb 100644 --- a/ansible/deploy/after-symlink-shared.yml +++ b/ansible/deploy/after-symlink-shared.yml @@ -5,10 +5,9 @@ chdir: "{{ ansistrano_release_path.stdout }}" - name: Install Webpack Encore assets - command: yarn run encore production + command: './node_modules/.bin/encore production' args: chdir: "{{ ansistrano_release_path.stdout }}" - become: true - name: Install Composer dependencies composer: