Open Hraesvelg opened 9 hours ago
When i try to run django_commande to run migrate i got :
TASK [quasm.django_quasm : Run Django database migrations] ***** fatal: []: FAILED! => {"changed": false, "msg": "Failed to find required executable \"python\" in paths: /:/:/:/:/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"}
Bug Report
django_command
$ ansible --version ansible [core 2.17.3]
$ ansible-galaxy collection list community.general Collection Version ----------------- ------- community.general 9.4.0
$ ansible-config dump --only-changed
Ubuntu
- name: Run Django database migrations community.general.django_command: command: migrate settings: "{{ django_settings_module }}" pythonpath: "{{ virtualenv_path }}/bin" venv: "{{ virtualenv_path }}"
i expect migrate is applied on database
Files identified in the description:
plugins/modules/django_command.py
If these files are incorrect, please update the component name section of the description or use the !component bot command.
component name
!component
click here for bot help
cc @russoz click here for bot help
Summary
When i try to run django_commande to run migrate i got :
TASK [quasm.django_quasm : Run Django database migrations] ***** fatal: []: FAILED! => {"changed": false, "msg": "Failed to find required executable \"python\" in paths: /:/:/:/:/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"}
Issue Type
Bug Report
Component Name
django_command
Ansible Version
Community.general Version
Configuration
OS / Environment
Ubuntu
Steps to Reproduce
Expected Results
i expect migrate is applied on database
Actual Results
Code of Conduct