Skip to content

Commit

Permalink
Merge pull request #37 from coopdevs/fix/nodejs_symlink
Browse files Browse the repository at this point in the history
Ignore error in the NodeJS symlink task
  • Loading branch information
danypr92 authored Feb 20, 2019
2 parents 962ddba + bc272ca commit 07e4255
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,14 @@
version: 2.7.2
global: yes

# This link is needed in Ubuntu 16.04 and in Ubuntu 18.04 raise and error.
- name: Create node symlink
become: yes
file:
src: /usr/bin/nodejs
dest: /usr/bin/node
state: link
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 07e4255

Please sign in to comment.