Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save eriknelson/05374e1316bc0305f74fc2e972f7ad8d to your computer and use it in GitHub Desktop.
Save eriknelson/05374e1316bc0305f74fc2e972f7ad8d to your computer and use it in GitHub Desktop.
# oc logs apb-06fe9d3f-7271-4c8d-9561-7132a60056f0
error: A server URL must be specified
PLAY [hello-world-apb provision] ***********************************************
TASK [ansible.kubernetes-modules : Intall latest openshift client] *************
skipping: [localhost]
TASK [provision-hello-world-apb : create project if it doesn't exist] **********
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: Exception: ("Error initializing AnsibleModuleHelper: [Errno 2] No such file or directory: '/opt/apb/.kube/config'",)
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "module_stderr": "Traceback (most recent call last):\n File \"/tmp/ansible_8I9FSC/ansible_module_openshift_v1_project.py\", line 347, in <module>\n main()\n File \"/tmp/ansible_8I9FSC/ansible_module_openshift_v1_project.py\", line 338, in main\n raise Exception(exc.message)\nException: (\"Error initializing AnsibleModuleHelper: [Errno 2] No such file or directory: '/opt/apb/.kube/config'\",)\n", "module_stdout": "", "msg": "MODULE FAILURE", "rc": 0}
[WARNING]: Could not create retry file '/opt/apb/actions/provision.retry'.
[Errno 13] Permission denied: u'/opt/apb/actions/provision.retry'
PLAY RECAP *********************************************************************
localhost : ok=0 changed=0 unreachable=0 failed=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment