Tag Info

Hot answers tagged

2

Ansible is indeed directly callable from your own python script. The Ansible API is fully documented. I have not used it myself but you should be able to write your own python script to leverage Ansible and do what you want. According to their documentation is as simple as this: import ansible.runner runner = ansible.runner.Runner( ...


1

Windows will only give memory to a process if and when the process asks for it. Windows won't give away memory to processes that don't ask for it, even if it has plenty of free memory. Looks to me like Python isn't asking for any more than 243MB of memory. Why do you feel like this Python script should be requesting more memory from the operating system? ...


1

mod_wsgi is in the base repositories. You can just run yum install mod_wsgi However, if you have been playing around installing Python from source, then it may well be that you have screwed up the Python environment. In that case, your best bet will be to reinstall the VPS from scratch and run yum install mod_wsgi. Assuming you have deployed your Django ...



Only top voted, non community-wiki answers of a minimum length are eligible