diff --git a/tasks.yml b/tasks.yml index 69693ce..d5a9a0a 100644 --- a/tasks.yml +++ b/tasks.yml @@ -37,9 +37,12 @@ environment: PATH: '/home/{{ app_user }}/.local/bin:{{ poetry_user_path }}' - # TODO allow ansible to run multiple flags (extras flag doesn't seem to be working) - name: install project dependencies - command: 'poetry install --no-dev --extras sentry' + command: + argv: + - 'poetry install' + - '--no-dev' + - '--extras sentry' args: chdir: '{{ app_dir }}' environment: