Skip to content

jpsteil/web2py_ansible_playbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

web2py_ansible_playbook

An Ansible playbook to install web2py on Ubuntu 20.04

How to install

  1. Install Ubuntu 20.04
  2. Create ssh key
  3. copy-ssh-id to your new server
  4. ssh to new server to ensure you can connect without any passwords or prompts
  5. Update the variables at the top of the yaml file for:
    1. ansible_user - this should be the user on your ubuntu server
    2. web2py_password - this is the password for the admin console to be used in web2py
  6. cd to ansible playbook directory
    • PYTHON3 run ansible-playbook -i hosts web2py-install.yaml -bK
    • PYTHON2 run ansible-playbook -i hosts web2py-install-2.yaml -bK
  7. Enter 'become' password
  8. Watch the server install

This playbook was based on the setup-web2py-nginx-uwsgi-ubuntu.sh install script included in web2py with help from a script posted by Clemens.

Please contact me with any changes, ommissions or suggestions.

About

An Ansible playbook to install web2py on Ubuntu 20.04

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages