ICSHWI-7950: reimplement undeployment
Changes:
- merged the
default
andnonvolatile
test cases to be able to fully test undeployment - added support for
iocs_to_undeploy_json
extra var - undeployment does the following tasks:
- stops and disables the IOC systemd service
- removes IOC console
- umounts nonvolatile directory
- deletes nonvolatile directory
- deletes IOC directory
- modified
ioc_deployment_result
fact;- renamed
iocs
key toiocs_deployed
- added
iocs_undeployed
- renamed
"ioc_deployment_result": {
"awx": {
"awx_job_id": "foo"
},
"iocs_deployed": {
"CCCE:test-nfs": {
"successful": true
}
},
"iocs_undeployed": {
"CCCE:will-be-undeployed": {
"successful": true
}
}
}