8b2e5653e4
Change-Id: I8ce7e11cd6027b53f1112c5880a5891c778db9d4
16 lines
446 B
YAML
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
|