ansible-roles/evoacme/tasks/apache.yml

18 lines
431 B
YAML
Raw Normal View History

- name: Copy acme challenge conf
template:
src: templates/apache.conf.j2
dest: /etc/apache2/conf-available/letsencrypt.conf
owner: root
group: root
mode: "644"
2016-12-16 16:17:14 +01:00
notify: reload apache2
- name: Enable acme challenge conf
file:
src: /etc/apache2/conf-available/letsencrypt.conf
dest: /etc/apache2/conf-enabled/letsencrypt.conf
state: link
owner: root
group: root
2016-12-16 16:17:14 +01:00
notify: reload apache2