mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 17:37:37 -02:30
Don't try and install content if there aren't any requirements expecting it
This commit is contained in:
committed by
AlanCoding
parent
95e69124af
commit
dab7889715
@@ -138,7 +138,7 @@
|
|||||||
synchronize:
|
synchronize:
|
||||||
src: "{{ cache_dir }}/requirements_roles"
|
src: "{{ cache_dir }}/requirements_roles"
|
||||||
dest: "{{ roles_destination }}"
|
dest: "{{ roles_destination }}"
|
||||||
when: roles_destination is defined
|
when: roles_destination is defined and doesRequirementsExist.stat.exists
|
||||||
|
|
||||||
when: roles_enabled|bool
|
when: roles_enabled|bool
|
||||||
tags:
|
tags:
|
||||||
@@ -166,7 +166,7 @@
|
|||||||
synchronize:
|
synchronize:
|
||||||
src: "{{ cache_dir }}/requirements_collections"
|
src: "{{ cache_dir }}/requirements_collections"
|
||||||
dest: "{{ collections_destination }}"
|
dest: "{{ collections_destination }}"
|
||||||
when: collections_destination is defined
|
when: collections_destination is defined and doesCollectionRequirementsExist.stat.exists
|
||||||
|
|
||||||
when:
|
when:
|
||||||
- "ansible_version.full is version_compare('2.8', '>=')"
|
- "ansible_version.full is version_compare('2.8', '>=')"
|
||||||
|
|||||||
Reference in New Issue
Block a user