tripleo-quickstart-extras/roles/ovb-manage-stack/tasks/ovb-cleanup-stacks-keypairs.yml
Sorin Sbarnea 8b2e5653e4 lint: fixed ansible-lint 301 rule
Change-Id: I8ce7e11cd6027b53f1112c5880a5891c778db9d4
2020-01-05 19:37:09 +00:00

16 lines
446 B
YAML

---
- name: Create OVB environment clean up script
template:
src: "{{ cleanup_stacks_keypairs_script }}"
dest: "{{ local_working_dir }}/cleanup-stacks-keypairs.sh"
mode: 0755
- name: Remove existing stacks and key pairs
shell: >
set -o pipefail &&
{{ local_working_dir }}/cleanup-stacks-keypairs.sh 2>&1 {{ timestamper_cmd }} >
{{ cleanup_stacks_keypairs_log }}
args:
executable: /bin/bash
changed_when: true