Last active
August 29, 2015 14:09
-
-
Save clonedagain/0fa64f7c24103a9b63f2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ansible-playbook | |
# Set up the Odoo/OpenERP servers | |
--- | |
- name: Set up alpha-erp | |
remote_user: root | |
hosts: alpha-erp | |
roles: | |
# Most of the configuration is taken from https://github.com/osiell/ansible-odoo | |
- odoo | |
# Extra role to forward port 80 to 8069 | |
- odoo_nat | |
# Parameters for the Odoo role | |
vars: | |
- odoo_user_passwd: 'blabla' | |
- odoo_workdir: /home/odoo/odoo | |
- odoo_config_file: /home/odoo/.openerp_serverrc | |
- odoo_config_addons_path: /home/odoo/odoo/addons,/home/odoo/odoo/openerp/addons | |
- odoo_config_admin_passwd: 'blabla' | |
# In v7 we used to set hard limit = 1,5Go => wkhtmltopdf went core dump on stock stickers if limit is smaller | |
#- odoo_limit_memory_hard = 1610612736 | |
#- odoo_limit_memory_soft = 671088640 | |
# In v7 we needed to allow long operations for inventories | |
#- odoo_limit_time_cpu = 600 | |
#- odoo_limit_time_real = 1200 | |
- odoo_config_workers: 4 | |
- odoo_config_db_host: False |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment