aboutsummaryrefslogtreecommitdiff
path: root/ansible/odoo
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2019-07-21 12:44:15 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2019-08-08 09:03:13 +0200
commit78b127b8df70a2060d8d08e69ac9d9fddfb4fcd1 (patch)
treecec4e25d04935a99ac899ace1540fec36fb97ee0 /ansible/odoo
parented28fe7b677e442124e93825fefb94ba0c187a26 (diff)
downloadinfra-78b127b8df70a2060d8d08e69ac9d9fddfb4fcd1.tar.gz
infra-78b127b8df70a2060d8d08e69ac9d9fddfb4fcd1.tar.bz2
infra-78b127b8df70a2060d8d08e69ac9d9fddfb4fcd1.tar.xz
infra-78b127b8df70a2060d8d08e69ac9d9fddfb4fcd1.zip
o odoo.
Diffstat (limited to 'ansible/odoo')
-rw-r--r--ansible/odoo/odoo.yml10
1 files changed, 9 insertions, 1 deletions
diff --git a/ansible/odoo/odoo.yml b/ansible/odoo/odoo.yml
index e5425c6..6897034 100644
--- a/ansible/odoo/odoo.yml
+++ b/ansible/odoo/odoo.yml
@@ -2,6 +2,11 @@
- numquam
tasks:
- become: yes
+ file:
+ path: /etc/odoo
+ state: absent
+
+ - become: yes
copy:
dest: /etc/systemd/system/docker.odoo.service
content: |
@@ -26,8 +31,11 @@
--name odoo -t \
odoo \
--workers=5 \
+ --http-port=8069 \
+ --longpolling-port=8070 \
--email-from=odoo@trygvis.io \
- --smtp=172.17.0.1
+ --smtp=172.17.0.1 \
+ --proxy-mode
[Install]
WantedBy=multi-user.target