ansible-role-certbot
ansible-role-certbot copied to clipboard
Unable to install from Source
I am trying to install certbot via ansible from source but I am facing the following error

- name: Main Play
hosts: local
become: true
vars:
admin_user: "{{ ansible_user }}"
admin_user_dir: /home/{{admin_user}}/
certbot_install_method: source
certbot_auto_renew: true
certbot_auto_renew_user: "{{ ansible_user }}"
certbot_create_method: webroot
certbot_auto_renew_options: "--quiet --no-self-upgrade"
certbot_create_if_missing: true
certbot_hsts: true
certbot_admin_email: [email protected]
certbot_testmode: true
certbot_certs:
- webroot: "/var/www/letsEncrypt/"
domains:
- travelerindubai.com
pip_install_packages:
- docker
- docker-compose
roles:
- geerlingguy.git
- geerlingguy.certbot
I think the issue is the value of certbot_script that is set in tasks> install-from-source.yml> Set Certbot script variable.
where certbot_script: "{{ certbot_dir }}/certbot-auto"
while the latest certbot files have been removed from certbots Github directory: https://github.com/certbot/certbot/pull/8938 can someone help explain/fix this?
I think "certbot_install_method: source" is no longer necessary, at least in its current form, since the "certbot-auto" file no longer exists.
It is necessary if you're affected by https://github.com/geerlingguy/ansible-role-certbot/issues/21 I believe
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!
Please read this blog post to see the reasons why I mark issues as stale.
This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.