Task Generate self-signed docker-registry certifcates failed

Solution Verified - Updated -

Issue

  • Task Generate self-signed docker-registry certifcates failed
  • Stand-alone registry deployment with inline comments in inventory file causes the following errors
fatal: [host1.example.com]: FAILED! => {"msg": "The conditional check 'docker_registry_self_signed | bool' failed. The error was:
 error while evaluating conditional (docker_registry_self_signed | bool): 'docker_registry_self_signed' is undefined\n\nThe error appears to have 
been in '/usr/share/ansible/openshift-ansible/roles/openshift_hosted/tasks/secure.yml': line 24, column 3, but may\nbe elsewhere in the file depen
ding on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Generate self-signed docker-registry certificates\n  ^ here\n"
}

Environment

  • Red Hat OpenShift Container Platform 3.11

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content