Skip to content

Commit

Permalink
Fixed deprecation warning (installed => present)
Browse files Browse the repository at this point in the history
  • Loading branch information
ncharlot committed Aug 7, 2018
1 parent 349dd81 commit 3994477
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down
4 changes: 2 additions & 2 deletions tasks/install_buildout.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down
2 changes: 1 addition & 1 deletion tasks/install_npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion tasks/install_pip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down
2 changes: 1 addition & 1 deletion tasks/install_standard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down
2 changes: 1 addition & 1 deletion tasks/reportlab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 3994477

Please sign in to comment.