Skip to content

waltervargas/ansible-odoo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Odoo (OpenERP) 8 Ansible Playbooks for Debian

Setup dev enviroment

  1. Run vagrant up

  2. Run ansible-playbook setup.yml

$ ansible-playbook -c paramiko -i develop setup.yml --ask-pass --sudo


3. Run ansible-playbook site.yml

   ```sh
$ ansible-playbook -i develop site.yml 

Requirements

  1. ansible 1.6
  2. vagrant 1.6

Description by components

Vagrant

  • IP Address: 192.168.33.2
  • Share ../addons folder with odoo local addons path (Make this folder before run)
  • Share ~/git/odoo folder to /opt/odoo (Clone odoo here before run)

Common Role

  • Setup apt of virtualmachine to use the realmachine as apt proxy (edit the file roles/common/files/02aptproxy and set yout apt-cacher here)
  • Install base debian packages

Postgres Role

Nginx Role

  • Install nginx
  • Setup gzip level 9 for javascript files
  • Setup cache for odoo static files
  • Setup nginx as reverse proxy for odoo
  • Setup SSL and copy cert and key (place server_name.key and server_name.crt in nginx/files/ folder)

About

Odoo Playbooks for Development and Production Enviroment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published