nicholasamorim / ansible-role-harbor

An Ansible Role that installs Harbor.
MIT License
24 stars 29 forks source link

harbor_ssl_cert is missing #15

Closed damozhiying closed 5 months ago

damozhiying commented 5 years ago
fatal: [192.168.30.249]: FAILED! => {
    "msg": "The task includes an option with an undefined variable. The error was: 'harbor_ssl_cert' is undefined\n\nThe error appears to be in '/root/ansible-command-test/harbor/ansible-role-harbor/tasks/main.yml': line 59, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Creating SSL certs folder\n  ^ here\n"
}
damozhiying commented 5 years ago

harbor_ssl_cert_key is missing

M-Gregoire commented 4 years ago

I have a similar issue with harbor_ssl_cert not being defined. Setting it with harbor_ssl_cert_key in my playbook fixed the issue but this should probably be defined by default:

    harbor_ssl_cert: /etc/ssl/certs/cert.pem
    harbor_ssl_cert_key: /etc/ssl/certs/cert.key
patsevanton commented 3 years ago

How install harbor without ssl ?

nicholasamorim commented 5 months ago

The SSL certs has been added to the readme example - which I assume people are using and getting this error.