1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/library/web_infrastructure
Patrick Michaud c1e241577c Allow generic django_management commands
This commit removes the restriction on django management commands.  If a command is unknown to the django installation, there will be a concise error produced.

for example:

  tasks:
    - name: invalid command
      django_manage: virtualenv="/valid/virtualenv" app_path="/valid/app_path" command="nowaydude"

Results in:

failed: [hostname] => {"cmd": "python manage.py nowaydude", "failed": true}
msg: stdout: Unknown command: 'nowaydude'
Type 'manage.py help' for usage.

:stderr: Unknown django command: nowaydude
2013-10-18 17:26:10 -07:00
..
django_manage Allow generic django_management commands 2013-10-18 17:26:10 -07:00
htpasswd Remove examples of module antipattern of setting the choices array for boolean types. 2013-10-11 08:45:13 -04:00
supervisorctl supervisorctl: user expansion on config filepath 2013-10-12 15:57:42 -07:00