mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2025-04-19 17:01:37 +02:00
Fixes #5: Ensure certbot-auto is executable.
This commit is contained in:
parent
444064222b
commit
65071dd992
12
README.md
12
README.md
@ -6,11 +6,19 @@ Installs Certbot (for Let's Encrypt) for RHEL/CentOS or Debian/Ubuntu.
|
|||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
Let's Encrypt requires `git` to be installed. You can install using the `geerlingguy.git` role.
|
Certbot requires Git to be installed. You can install Git using the `geerlingguy.git` role.
|
||||||
|
|
||||||
## Role Variables
|
## Role Variables
|
||||||
|
|
||||||
None.
|
certbot_repo: https://github.com/certbot/certbot.git
|
||||||
|
certbot_version: master
|
||||||
|
certbot_keep_updated: yes
|
||||||
|
|
||||||
|
Certbot code repository options. This role clones the agent from the configured repo, then makes the `certbot-auto` script executable.
|
||||||
|
|
||||||
|
certbot_dir: /opt/certbot
|
||||||
|
|
||||||
|
The directory inside which Certbot will be cloned.
|
||||||
|
|
||||||
## Dependencies
|
## Dependencies
|
||||||
|
|
||||||
|
@ -5,3 +5,8 @@
|
|||||||
dest: "{{ certbot_dir }}"
|
dest: "{{ certbot_dir }}"
|
||||||
version: "{{ certbot_version }}"
|
version: "{{ certbot_version }}"
|
||||||
update: "{{ certbot_keep_updated }}"
|
update: "{{ certbot_keep_updated }}"
|
||||||
|
|
||||||
|
- name: Ensure certbot-auto is executable.
|
||||||
|
file:
|
||||||
|
path: "{{ certbot_dir }}/certbot-auto"
|
||||||
|
mode: 0755
|
||||||
|
Loading…
x
Reference in New Issue
Block a user