A role for converting all found OpenShift DeploymentConfig objects to Deployment yaml files.
collection:
- kubernetes.core
By default it will attempt a environment lookup for the following environment variables:
K8S_AUTH_API_KEY
K8S_AUTH_HOST
If those are not defined, it will use the following role variables:
k8s_api_host: https://api.example.com:6443
k8s_api_key: sha256~aBcF6Fzm53A2lnTbWxO0F97Bz678InIvfcteslLLwZc
You can also specify the directory to save the converted yaml files:
yaml_save_dir: /home/my_user
- hosts: all
roles:
- ansible-role-dc-convert
MIT/BSD
filter_plugin based on the work done by underguiz and the gist found here.
This role was created by Michael Tipton.