diff --git a/README.md b/README.md index 6499fac..a362716 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ odoo_service: odoo odoo_version: 8.0 odoo_user: odoo odoo_user_passwd: odoo +odoo_user_system: False odoo_logdir: "/var/log/{{ odoo_user }}" odoo_workdir: "/home/{{ odoo_user }}/odoo" odoo_rootdir: "/home/{{ odoo_user }}/odoo/server" diff --git a/defaults/main.yml b/defaults/main.yml index b8a337b..faea2c6 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -2,6 +2,7 @@ odoo_service: odoo odoo_version: 8.0 odoo_user: odoo odoo_user_passwd: odoo +odoo_user_system: False odoo_logdir: "/var/log/{{ odoo_user }}" odoo_workdir: "/home/{{ odoo_user }}/odoo" odoo_rootdir: "/home/{{ odoo_user }}/odoo/server" diff --git a/tasks/main.yml b/tasks/main.yml index 80309e3..be400bd 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -24,6 +24,7 @@ - name: Add Odoo system user user: name={{ odoo_user }} shell=/bin/bash password={{ odoo_user_passwd }} update_password=on_create + system={{ odoo_user_system }} tags: - odoo - odoo_user