Hi,
When Ansible runs these minishift instructions, then the vm is well deleted
but not the content of the profile. Is it a mistake ?
- name: Shutdown minishift
command: minishift stop --profile {{ profile.name }}
when: '"Running" in ps_state.stdout'
ignore_errors: yes
TASK [Shutdown minishift]
********************************************************************************************************************************************************************
changed: [localhost] => {"changed": true, "cmd": ["minishift", "stop",
"--profile", "istio-demo"], "delta": "0:00:08.181745", "end": "2017-11-21
20:41:44.287993", "failed": false, "rc": 0, "start": "2017-11-21
20:41:36.106248", "stderr": "", "stderr_lines": [], "stdout": "Stopping
local OpenShift cluster...\nCluster stopped.", "stdout_lines": ["Stopping
local OpenShift cluster...", "Cluster stopped."]}
- name: Deleting minishift
shell: MINISHIFT_HOME={{ ansible_env.HOME }}/.minishift minishift delete
--profile {{ profile.name }} --force
TASK [Deleting minishift]
********************************************************************************************************************************************************************
changed: [localhost] => {"changed": true, "cmd":
"MINISHIFT_HOME=/Users/dabou/.minishift minishift delete --profile
istio-demo --force", "delta": "0:00:00.082587", "end": "2017-11-21
20:41:44.802092", "failed": false, "rc": 0, "start": "2017-11-21
20:41:44.719505", "stderr": "", "stderr_lines": [], "stdout": "Deleting the
Minishift VM...\nMinishift VM deleted.", "stdout_lines": ["Deleting the
Minishift VM...", "Minishift VM deleted."]}
But
ll ~/.minishift/profiles/istio-demo
total 24
drwxr-xr-x 6 dabou staff 204B Nov 21 20:19 addons
-rw-r--r-- 1 dabou staff 1.0K Nov 21 20:33 ca.pem
drwxr-xr-x 5 dabou staff 170B Nov 21 20:19 cache
-rw-r--r-- 1 dabou staff 1.0K Nov 21 20:33 cert.pem
drwxr-xr-x 6 dabou staff 204B Nov 21 20:20 certs
drwxr-xr-x 4 dabou staff 136B Nov 21 20:27 config
-rw------- 1 dabou staff 1.6K Nov 21 20:33 key.pem
drwxr-xr-x 4 dabou staff 136B Nov 21 20:36 logs
drwxr-xr-x 6 dabou staff 204B Nov 21 20:43 machines
drwxr-xr-x 2 dabou staff 68B Nov 21 20:19 tmp
Regards,
CHARLES MOULLIARD
SOFTWARE ENGINEER MANAGER SPRING(BOOT)
Red Hat <https://www.redhat.com/>
[email protected] M: +32-473-604014
<https://red.ht/sig>
@cmoulliard <https://twitter.com/cmoulliard>
_______________________________________________
Container-tools mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/container-tools