diff --git a/tasks/install.yml b/tasks/install.yml index e5554f3..9776fa3 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -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 @@ -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'