Bug fix for Ansible destroy VM script 89/52089/1
authorJohn O Loughlin <john.oloughlin@intel.com>
Mon, 12 Feb 2018 17:31:59 +0000 (17:31 +0000)
committerJohn O Loughlin <john.oloughlin@intel.com>
Tue, 13 Feb 2018 09:58:53 +0000 (09:58 +0000)
commit273aa4ae30248269101207ea379a866bb4ecd857
treed1fc481c9038b60885194d466b9b59c8c7e4ad10
parent44f31bf01c787501d0c077730d4b76bb02a3faaf
Bug fix for Ansible destroy VM script

Modified the destroy script to ignore errors as 2 possible
problems can cause a play to fail.
1. A VM can be running but undefined.
2. A VM can be destroyed but still running.

JIRA: YARDSTICK-1006

Change-Id: Ib66f48401bfefb598f553cfef31bfa2682f5a584
Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
ansible/roles/infra_destroy_previous_configuration/tasks/delete_vm.yml [new file with mode: 0644]
ansible/roles/infra_destroy_previous_configuration/tasks/main.yml