Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] Wait for the project to be cloned before creating the Odoo data directory #75

Merged
merged 2 commits into from
Mar 6, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@
tags:
- odoo_log

- name: Create odoo data dir directory
file: path={{ odoo_config_data_dir }} state=directory
owner={{ odoo_user }} group={{ odoo_user }} force=yes

- name: Project repository already cloned?
stat: path={{ odoo_repo_dest }}
register: project_path
Expand Down Expand Up @@ -58,6 +54,14 @@
tags:
- odoo_project

- name: Create odoo data dir directory
file: path={{ odoo_config_data_dir }} state=directory
owner={{ odoo_user }} group={{ odoo_user }} force=yes
when: odoo_install_type != 'buildout'
tags:
- odoo_install_type_pip
- odoo_install_type_standard

- name: Standard installation
import_tasks: install_standard.yml
when: odoo_install_type == 'standard'
Expand Down