mirror of
https://github.com/ansible/awx.git
synced 2026-10-31 06:26:15 -02:30
[AAP-90130] Updating project update playbook for ansible-core 2.20 (#16629)
Updating project update playbook for ansible-core 2.20
This commit is contained in:
@@ -156,8 +156,8 @@
|
|||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ item.path }}"
|
path: "{{ item.path }}"
|
||||||
state: absent
|
state: absent
|
||||||
loop: "{{ previous_archive.files }}"
|
loop: "{{ previous_archive.files | default([]) }}"
|
||||||
when: previous_archive.files | default([])
|
when: previous_archive.files | default([]) | length > 0
|
||||||
|
|
||||||
- name: Set scm_version to archive sha1 checksum
|
- name: Set scm_version to archive sha1 checksum
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
@@ -253,7 +253,6 @@
|
|||||||
skip: True
|
skip: True
|
||||||
changed_when: "'Nothing to do.' not in galaxy_collection_result.stdout"
|
changed_when: "'Nothing to do.' not in galaxy_collection_result.stdout"
|
||||||
when:
|
when:
|
||||||
- "ansible_version.full is version_compare('2.9', '>=')"
|
|
||||||
- collections_enabled | bool
|
- collections_enabled | bool
|
||||||
- req_file | length > 0
|
- req_file | length > 0
|
||||||
tags:
|
tags:
|
||||||
@@ -273,7 +272,6 @@
|
|||||||
skip: True
|
skip: True
|
||||||
changed_when: "'Nothing to do.' not in galaxy_combined_result.stdout"
|
changed_when: "'Nothing to do.' not in galaxy_combined_result.stdout"
|
||||||
when:
|
when:
|
||||||
- "ansible_version.full is version_compare('2.10', '>=')"
|
|
||||||
- collections_enabled | bool
|
- collections_enabled | bool
|
||||||
- roles_enabled | bool
|
- roles_enabled | bool
|
||||||
- req_file | length > 0
|
- req_file | length > 0
|
||||||
|
|||||||
Reference in New Issue
Block a user