You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have written a playbook that in turn uses this collection. I am beginning to discover that it is necessary to add certain parameters in the playbook (i.e. become: true). Currently, the playbook is failing when the community.crypto.openssl_privatekey (line 50 in main.yml) fails since the "path" parameter is a relative pointer. My knowledge of ansible is not sufficient to allow me prefix this relative parameter with the base directory name to prepend to the relative path given in the path parameter.
The error message reads: FAILED! => {"changed": false, "msg": "Error while reading file "keys/acme-account.key": [Errno 2] No such file or directory: 'keys/acme-account.key'", "other": {}}
The absolute directory would be /etc/ssl/keys. How do I prepend the "/etc/ssl/".
Thanks.
PS: As an intermediate level ansible user, I find your collection well architected and well-documented. As a learning example, it provides with with a very high bar to which my work should strive to achieve. :-) Thanks.
The text was updated successfully, but these errors were encountered:
Have you tried setting acme_certificate_keys_path to an absolute path like /etc/ssl, and acme_certificate_acme_account to an absolute filename like /etc/ssl/acme-account.key?
I have written a playbook that in turn uses this collection. I am beginning to discover that it is necessary to add certain parameters in the playbook (i.e. become: true). Currently, the playbook is failing when the community.crypto.openssl_privatekey (line 50 in main.yml) fails since the "path" parameter is a relative pointer. My knowledge of ansible is not sufficient to allow me prefix this relative parameter with the base directory name to prepend to the relative path given in the path parameter.
The error message reads: FAILED! => {"changed": false, "msg": "Error while reading file "keys/acme-account.key": [Errno 2] No such file or directory: 'keys/acme-account.key'", "other": {}}
The absolute directory would be /etc/ssl/keys. How do I prepend the "/etc/ssl/".
Thanks.
PS: As an intermediate level ansible user, I find your collection well architected and well-documented. As a learning example, it provides with with a very high bar to which my work should strive to achieve. :-) Thanks.
The text was updated successfully, but these errors were encountered: