Skip to content

Commit

Permalink
Not run the symlink task if is Ubuntu 18.04
Browse files Browse the repository at this point in the history
In Ubuntu 18.04 the symlink is not needed because the binary is already
called node instead nodejs.
  • Loading branch information
danypr92 committed Feb 20, 2019
1 parent 7e5387f commit bc272ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
src: /usr/bin/nodejs
dest: /usr/bin/node
state: link
ignore_errors: yes
when: ansible_distribution == "Ubuntu" and not ansible_distribution_version == "18.04"

- name: Get installed Odoo version (if any)
shell: "{{ odoo_role_odoo_python_path }} {{ odoo_role_odoo_bin_path }} --version | cut -d ' ' -f 3"
Expand Down

0 comments on commit bc272ca

Please sign in to comment.