community.okd.oc – Execute tasks in pods running on OpenShift.
This plugin is part of the community.okd collection (version 2.1.0).
You might already have this collection installed if you are using the
It is not included in
To check whether it is installed, run
ansible-galaxy collection list.
To install it, use:
ansible-galaxy collection install community.okd.
To use it in a playbook, specify:
Use the oc exec command to run tasks in, or put/fetch files to, pods running on the OpenShift container platform.
The below requirements are needed on the local controller node that executes this connection.
oc (go binary)