Remove container delete task
We no longer have swift on the undercloud so this task no longer needs to exist. With it here we're unable to delete an overcloud via the CLI. Change-Id: I20bb3ea3b65c42638f81363afeb84dc3e9aa1764 Signed-off-by: Kevin Carter <kecarter@redhat.com>
This commit is contained in:
parent
2bd02cc59a
commit
be02313503
|
@ -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…
Reference in New Issue