1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Wrap in sh to fix prev issue

This commit is contained in:
Mitra Ardron 2019-04-23 17:48:57 +10:00
parent 658e850552
commit b7aa5109ea

View file

@ -13,13 +13,13 @@
state: present
- name: Setup for yarn install from its own repo 1/2
command: curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
command: sh -c 'curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -'
args:
chdir: "{{ iiab_base }}"
when: internet_available
- name: Setup for yarn install from its own repo 2/2
command: echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
command: sh -c 'echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list'
args:
chdir: "{{ iiab_base }}"
when: internet_available