If you are running in your local machine you can use the following steps.
-
First log into ACM
[source,sh] ---- oc login... ----
-
Run the following command to deploy
[source,sh] ---- ansible-playbook -i inventory.yaml main.yaml ----
-
Run the following command to undeploy
[source,sh] ---- ansible-playbook -i inventory.yaml main.yaml -e "undeploy=yes" ----