Changeset 14912 for main/waeup-ansible


Ignore:
Timestamp:
27 Nov 2017, 14:10:54 (7 years ago)
Author:
uli
Message:

Run odoo in proxy-mode.

Location:
main/waeup-ansible
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/waeup-ansible/odoo.yml

    r14908 r14912  
    44# What it does:
    55#   - install postgresql
     6#   - install odoo (nightly build version)
     7#   - enable proxy mode [0]
     8#
     9# [0]: http://www.odoo.com/documentation/11.0/setup/deploy.html#https
    610#
    711# It will normally be run like this:
    812#
    9 #  ansible-playbook -b -i h8.waeup.org, odoo.yml
     13#  ansible-playbook -b -i v8.waeup.org, odoo.yml
    1014#
    1115- hosts: all
  • main/waeup-ansible/roles/odoo/handlers/main.yml

    r14907 r14912  
    55    upgrade: "safe"
    66    update_cache: yes
     7
     8- name: "restart odoo"
     9  # there is no reload action defined, only restart (2017-11)
     10  service:
     11    name: "odoo"
     12    state: restarted
  • main/waeup-ansible/roles/odoo/tasks/main.yml

    r14907 r14912  
    3838      name: odoo
    3939      state: present
     40
     41- name: "enable proxy mode"
     42  become: yes
     43  ini_file:
     44      path: /etc/odoo/odoo.conf
     45      section: "options"
     46      option: "proxy_mode"
     47      value: True
     48      backup: yes
     49  notify: restart odoo
Note: See TracChangeset for help on using the changeset viewer.