| What Deprovision role should take care of deleting all objects created by provision role. Currently it deletes only the service instance, but the pods (mongodb, redis, fh-sync-server) are still running. Log from pod running deprovision role:
PLAY [fh-sync-server-apb playbook to deprovision the application] ************** |
|
TASK [ansible.kubernetes-modules : Install latest openshift client] ************ |
skipping: [localhost] |
|
TASK [ansibleplaybookbundle.asb-modules : debug] ******************************* |
skipping: [localhost] |
|
TASK [deprovision-fh-sync-server-apb : delete fh-sync-server resource] ********* |
changed: [localhost] => (item=service) |
changed: [localhost] => (item=route) |
|
TASK [deprovision-fh-sync-server-apb : delete sync-redis resoures] ************* |
changed: [localhost] => (item=service) |
|
TASK [deprovision-fh-sync-server-apb : delete sync-mongo resoures] ************* |
changed: [localhost] => (item=service) |
changed: [localhost] => (item=secret) |
|
PLAY RECAP ********************************************************************* |
localhost : ok=3 changed=3 unreachable=0 failed=0 |
|
+ EXIT_CODE=0 |
+ set +ex |
+ '[' -f /var/tmp/test-result ']' |
+ exit 0
|
|