3840923 don't remove tempfile when process ends

Authored and Committed by bgoncalv 3 years ago
    don't remove tempfile when process ends
    
    It is possible to 1st provision the VM and leave it running to only after run the playbook like example below, so tempfile can't be removed until qemu process finishes
    
    TEST_DEBUG=1 TEST_SUBJECTS=/test_subject.qcow2 ansible-inventory --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 --list --yaml | tee pipeline_inventory.yaml
    
    ansible-playbook --inventory=pipeline_inventory.yaml --extra-vars ansible_python_interpreter=/usr/bin/python3 --tags classic tests.yml