Skip to content
This repository has been archived by the owner on Apr 29, 2022. It is now read-only.

Commit

Permalink
Get LetsEncrypt Docker image and create directories
Browse files Browse the repository at this point in the history
  • Loading branch information
David Fernandez committed Jul 8, 2017
1 parent 879f86b commit f1ee7bb
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions ansible/roles/services/apache/tasks/install_lets_encrypt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
- name: "Pull {{ certbot_image_name }}:{{ certbot_image_version }}"
docker_image:
name: "{{ certbot_image_name }}"
tag: "{{ certbot_image_version }}"

- name: "Create directories"
file:
name: "{{ item }}"
state: directory
owner: root
group: root
mode: '0755'
with_items:
- "/opt/dockerapps/{{ instance_name }}/letsencrypt"

0 comments on commit f1ee7bb

Please sign in to comment.