Fixes #5: Ensure certbot-auto is executable.

pull/7/head
Jeff Geerling 9 years ago
parent 444064222b
commit 65071dd992
  1. 12
      README.md
  2. 5
      tasks/main.yml

@ -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…
Cancel
Save