Is it possible to do something like this with Ansible's command module?
- command: {{ venv_path }}/bin/python {{ repo_path }}/manage.py runserver
Since there are no double quotes around the first set of braces, I get the usual "We could be wrong..." syntax error. But none of the following work either:
- command "{{ venv_path }}"/bin/python ... # Error
- command "{{ venv_path }}/bin/python" ... # Error
- command: "{{ venv_path }}/bin/python {{ repo_path }}/manage.py runserver" # Error
Thanks.
- command: >and then put the rest on the next line. Then it is treated as text in YAML and it wont complain