mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2025-04-19 00:41:38 +02:00
renamed certbot_from_git variable to certbot_install_from_source and fixed some wording
This commit is contained in:
parent
33724b0a93
commit
afa993333f
@ -10,12 +10,12 @@ Certbot requires Git to be installed if one wants to install Certbot from Git re
|
||||
|
||||
## Role Variables
|
||||
|
||||
certbot_from_git: no
|
||||
certbot_install_from_source: no
|
||||
certbot_repo: https://github.com/certbot/certbot.git
|
||||
certbot_version: master
|
||||
certbot_keep_updated: yes
|
||||
|
||||
Certbot Git repository options. This role clones the agent from the configured repo, then makes the `certbot-auto` script executable if `certbot_from_git` is `yes`. Otherwise it will be installed from distribution's package management.
|
||||
Certbot Git repository options. This role clones the agent from the configured repo, then makes the `certbot-auto` script executable if `certbot_install_from_source` is `yes`. Otherwise it will be installed from distribution's package management.
|
||||
|
||||
certbot_dir: /opt/certbot
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
# Where to get Certbot.
|
||||
certbot_from_git: no
|
||||
certbot_install_from_source: no
|
||||
certbot_repo: https://github.com/certbot/certbot.git
|
||||
certbot_version: master
|
||||
certbot_keep_updated: yes
|
||||
|
@ -7,7 +7,7 @@
|
||||
update: "{{ certbot_keep_updated }}"
|
||||
force: yes
|
||||
|
||||
- name: Set Certbot script variable
|
||||
- name: Set Certbot script variable.
|
||||
set_fact:
|
||||
certbot_script: "{{ certbot_dir }}/certbot-auto"
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
- name: Install Certbot
|
||||
- name: Install Certbot.
|
||||
package: name=certbot state=present
|
||||
|
||||
- name: Set Certbot script variable
|
||||
- name: Set Certbot script variable.
|
||||
set_fact:
|
||||
certbot_script: certbot
|
@ -1,9 +1,9 @@
|
||||
---
|
||||
- include: install-from-package.yml
|
||||
when: not certbot_from_git
|
||||
- include: install-with-package.yml
|
||||
when: not certbot_install_from_source
|
||||
|
||||
- include: install-from-git.yml
|
||||
when: certbot_from_git
|
||||
- include: install-from-source.yml
|
||||
when: certbot_install_from_source
|
||||
|
||||
- include: renew-cron.yml
|
||||
when: certbot_auto_renew
|
||||
|
Loading…
x
Reference in New Issue
Block a user