blob: 5318a97288e4d08b7f4e0578a0268a5db414d4b5 [file] [log] [blame]
- name: Ensure NodeJS is installed
include_role:
name: ensure-nodejs
vars:
node_version: 16
- name: Check installed chrome-webstore-upload-cli version
command: "chrome-webstore-upload --version"
register: installed_version
failed_when: false
- name: Install chrome-webstore-upload-cli
command: "npm install --global chrome-webstore-upload-cli@{{ version }}"
when:
- installed_version.rc != 0 or (installed_version.stdout|trim) != version