Fix install intellij on clean system
This commit is contained in:
parent
259ff6ba24
commit
5e500db618
@ -19,6 +19,15 @@
|
||||
set_fact:
|
||||
local_intellij_version: "{{ local_version_info_file.stdout | from_json | json_query('version') }}"
|
||||
upstream_intellij_version: "{{ idea_info.json | json_query('IIU[0].version') }}"
|
||||
when:
|
||||
local_version_inf_file is defined
|
||||
|
||||
- name: "Set version info fact"
|
||||
set_fact:
|
||||
local_intellij_version: "0.0"
|
||||
upstream_intellij_version: "{{ idea_info.json | json_query('IIU[0].version') }}"
|
||||
when:
|
||||
local_version_inf_file is undefined
|
||||
|
||||
- import_tasks: install.yml
|
||||
when: local_version_info_file is undefined or local_intellij_version != upstream_intellij_version
|
||||
|
Loading…
Reference in New Issue
Block a user