summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinny Valdez <vvaldez@redhat.com>2016-06-29 13:57:40 -0500
committerVinny Valdez <vvaldez@redhat.com>2016-07-07 16:09:55 -0500
commit8f40918aa180395ec72997e8b29b8c58eccd76c2 (patch)
treede7d77ba1430830e38625e026a55d5495394680c
parentb92924f772d70379bfd4840a6fd60a09adfacdf9 (diff)
downloadopenshift-8f40918aa180395ec72997e8b29b8c58eccd76c2.tar.gz
openshift-8f40918aa180395ec72997e8b29b8c58eccd76c2.tar.bz2
openshift-8f40918aa180395ec72997e8b29b8c58eccd76c2.tar.xz
openshift-8f40918aa180395ec72997e8b29b8c58eccd76c2.zip
Add enhancements for for terminate playbook
* Fixes Issue #206 * Add check for valid item when attempting to delete objects * Add debug on all variables when using dry_run * Changed default ansible_ssh_user to cloud-user in line with standard cloud guest image * Add count for ips and volumes to display since these may not always be the same as instance count * Enhance displayed warning/note message to include new counts * It is possible for an instance to not have a floating IP for whatever reason (such as manually deallocating or releasing the IP), in this case SSH will not work to the instance so it will not be included in the host group to attempt subscription manager unregister, but will still be deleted * It is possible that an instance will have a volume created but not attached. In this case as a precautionary measure I am excluding these unattached volumes from the deletion in case this was intentionally detached to preserve data. We can further discuss if this should be a parameter to override instead or if we need to change this behavior. * Excluded instances in ERROR state as they will most likely not delete. We can discuss if this should be parameterized instead. * Added prompt variable defaulted to true but can be set to false * Added unregister variable defaulted to true but can be set to false
0 files changed, 0 insertions, 0 deletions