ansible / ansible-kubernetes-modules

DEPRECATED Ansible role containing pre-release K8s modules
Apache License 2.0
73 stars 39 forks source link

Could not find imported module support code #6

Closed blasrodriguez closed 7 years ago

blasrodriguez commented 7 years ago

When trying to use the module in a playbook like:

---
- hosts: localhost
  remote_user: root
  roles:
    - role: ansible.kubernetes-modules
      install_python_requirements: no
    - role: openshift-prueba

I get this error:

TASK [openshift-prueba : Create project] **************************************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"failed": true, "msg": "Could not find imported module support code for openshift_v1_project.  Looked for either OpenShiftAnsibleModule.py or openshift_common.py"}
chouseknecht commented 7 years ago

@born2fail

Thanks for catching this. Just added missing openshift_common.py to module_utils. That should fix this.