diff --git a/tasks/install.yml b/tasks/install.yml index fcca158..0ac737f 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -2,7 +2,7 @@ - name: Install required tools apt: pkg={{ item }} - state=installed + state=present update_cache={{ odoo_apt_update_cache }} cache_valid_time={{ odoo_apt_cache_valid_time }} with_items: "{{ odoo_required_tools }}" diff --git a/tasks/install_buildout.yml b/tasks/install_buildout.yml index 583651d..1c52c73 100644 --- a/tasks/install_buildout.yml +++ b/tasks/install_buildout.yml @@ -2,14 +2,14 @@ - name: Install build dependencies apt: pkg={{ item }} - state=installed + state=present update_cache={{ odoo_apt_update_cache }} cache_valid_time={{ odoo_apt_cache_valid_time }} with_items: "{{ odoo_buildout_build_dependencies }}" - name: Install extra dependencies apt: pkg={{ item }} - state=installed + state=present update_cache={{ odoo_apt_update_cache }} cache_valid_time={{ odoo_apt_cache_valid_time }} with_items: "{{ odoo_buildout_extra_dependencies }}" diff --git a/tasks/install_npm.yml b/tasks/install_npm.yml index 40becdf..96a0758 100644 --- a/tasks/install_npm.yml +++ b/tasks/install_npm.yml @@ -14,7 +14,7 @@ - name: Install NodeJS apt: pkg="{{ odoo_nodejs_apt_package }}" - state=installed + state=present update_cache=yes - name: Install Odoo dependencies (npm) diff --git a/tasks/install_pip.yml b/tasks/install_pip.yml index d190af7..f9d3e8f 100644 --- a/tasks/install_pip.yml +++ b/tasks/install_pip.yml @@ -6,7 +6,7 @@ - name: Install build dependencies apt: pkg={{ item }} - state=installed + state=present update_cache={{ odoo_apt_update_cache }} cache_valid_time={{ odoo_apt_cache_valid_time }} with_items: "{{ odoo_pip_build_dependencies }}" diff --git a/tasks/install_standard.yml b/tasks/install_standard.yml index 016d187..29a8852 100644 --- a/tasks/install_standard.yml +++ b/tasks/install_standard.yml @@ -2,7 +2,7 @@ - name: Install Odoo dependencies apt: pkg={{ item }} - state=installed + state=present update_cache={{ odoo_apt_update_cache }} cache_valid_time={{ odoo_apt_cache_valid_time }} with_items: "{{ odoo_debian_packages }}" diff --git a/tasks/reportlab.yml b/tasks/reportlab.yml index 19d5248..21d0e71 100644 --- a/tasks/reportlab.yml +++ b/tasks/reportlab.yml @@ -8,7 +8,7 @@ file: path="/home/{{ odoo_user }}/fonts" state=directory - name: Install unzip - apt: name=unzip state=installed + apt: name=unzip state=present - name: Unzip the ReportLab fonts unarchive: src="/opt/pfbfer.zip"