Browse Source

Merge "Remove container delete task"

changes/04/778704/2
Zuul 1 month ago
committed by Gerrit Code Review
parent
commit
49f843384f
1 changed files with 0 additions and 19 deletions
  1. +0
    -19
      tripleo_ansible/playbooks/cli-overcloud-delete.yaml

+ 0
- 19
tripleo_ansible/playbooks/cli-overcloud-delete.yaml View File

@ -38,25 +38,6 @@
until: stack_delete is success
delay: 4
retries: 16
# NOTE (cloudnull): This is using the CLI command to delete a given container
# because the os_object module does not yet handle recursive
# deletes. Revise this when RFE 60449 is implemented.
# https://github.com/ansible/ansible/issues/60449
- name: Delete container and objects
command: >
openstack --os-cloud undercloud container delete "{{ item }}" --recursive
failed_when:
- container_objects.rc != 0
- "'not found' not in container_objects.stderr | lower"
changed_when:
- "'not found' not in container_objects.stderr | lower"
register: container_objects
loop:
- "{{ stack_name }}"
- "{{ stack_name }}-messages"
- "{{ stack_name }}-swift-rings"
post_tasks:
- name: Workflow notice
debug:


Loading…
Cancel
Save