ansible-role-certbot/tasks/base.yml
2018-06-10 19:37:31 +02:00

15 lines
342 B
YAML

- name: install certbot package
apt:
name: certbot
default_release: '{{ certbot_distribution|default(ansible_distribution_release) }}'
state: present
tags: certbot
- name: create webroot path directory
file:
path: '{{ certbot_path }}'
owner: root
group: root
mode: 0755
state: directory
tags: certbot