Skip to content

ICSHWI-7950: reimplement undeployment

Krisztián Löki requested to merge ICSHWI-7950-reimplement-undeployment into master

Changes:

  • merged the default and nonvolatile 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 to iocs_deployed
    • added iocs_undeployed
        "ioc_deployment_result": {
            "awx": {
                "awx_job_id": "foo"
            },
            "iocs_deployed": {
                "CCCE:test-nfs": {
                    "successful": true
                }
            },
            "iocs_undeployed": {
                "CCCE:will-be-undeployed": {
                    "successful": true
                }
            }
        }

Merge request reports