fix template destination

This commit is contained in:
Robert Kaussow 2018-06-22 22:03:31 +02:00
parent bf3e39e301
commit 755a43b84a
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
---
certbot_work_dir: "/var/lib/letsencrypt"
certbot_config_dir: "/etc/letsencrypt"
certbot_log_dir: "/var/log/letsencrypt"
certbot_work_dir: /var/lib/letsencrypt
certbot_config_dir: /etc/letsencrypt
certbot_log_dir: /var/log/letsencrypt
certbot_environment:
- { name: "{{ certbot_work_dir }}", mode: '0755' }
- { name: "{{ certbot_config_dir }}", mode: '0755' }

View File

@ -25,6 +25,6 @@
- name: Deploy config file
template:
src: config/cli.ini.j2
dest: " {{ certbot_config_dir }} "
dest: "{{ certbot_config_dir }}cli.ini"
become: True
become_user: "{{ certbot_user }}"