We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The playbook:
--- - hosts: monitoring.hostname.tld roles: - geerlingguy.mysql - chrnie.icinga2 vars: - icinga2_role: master
The failing task:
TASK [chrnie.icinga2 : create cert] ********************************************************************************************************************************************** fatal: [monitoring.hostname.tld]: FAILED! => { "changed": true, "cmd": "/usr/sbin/icinga2 pki new-cert --cn monitoring --key '/var/lib/icinga2/certs/monitoring.key' --cert '/var/lib/icinga2/certs/monitoring.crt'", "delta": "0:00:02.024617", "end": "2018-05-09 13:53:21.146083", "rc": 1, "start": "2018-05-09 13:53:19.121466" } STDOUT: [2018-05-09 13:53:19 +0000] warning/icinga-app: Sysconfig file '/etc/sysconfig/icinga2' cannot be read. Using default values. information/base: Writing private key to '/var/lib/icinga2/certs/monitoring.key'. critical/SSL: Error while opening private RSA key file '/var/lib/icinga2/certs/monitoring.key': 33558530, "error:02001002:system library:fopen:No such file or directory" MSG: non-zero return code
TASK [chrnie.icinga2 : create cert] ********************************************************************************************************************************************** fatal: [monitoring.hostname.tld]: FAILED! => { "changed": true, "cmd": "/usr/sbin/icinga2 pki new-cert --cn monitoring --key '/var/lib/icinga2/certs/monitoring.key' --cert '/var/lib/icinga2/certs/monitoring.crt'", "delta": "0:00:02.024617", "end": "2018-05-09 13:53:21.146083", "rc": 1, "start": "2018-05-09 13:53:19.121466" }
STDOUT:
[2018-05-09 13:53:19 +0000] warning/icinga-app: Sysconfig file '/etc/sysconfig/icinga2' cannot be read. Using default values. information/base: Writing private key to '/var/lib/icinga2/certs/monitoring.key'. critical/SSL: Error while opening private RSA key file '/var/lib/icinga2/certs/monitoring.key': 33558530, "error:02001002:system library:fopen:No such file or directory"
MSG:
non-zero return code
The text was updated successfully, but these errors were encountered:
Seems like
ansible-role-icinga2/tasks/pki.yml
Lines 18 to 24 in 5662241
Sorry, something went wrong.
No branches or pull requests
The playbook:
The failing task:
The text was updated successfully, but these errors were encountered: