From c25d1c02be6524c2552bcb96261b615ecee66917 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 19 Apr 2020 23:35:00 +0200 Subject: [PATCH] add missing credentials template --- tasks/install.yml | 2 +- templates/config/credentials.ini.j2 | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 templates/config/credentials.ini.j2 diff --git a/tasks/install.yml b/tasks/install.yml index b2b4b6f..2df8eba 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -34,8 +34,8 @@ template: src: config/credentials.ini.j2 dest: "{{ certbot_config_dir }}/credentials.ini" + mode: 600 when: certbot_credentials - mode: 600 - name: Schedule certbot run cron: diff --git a/templates/config/credentials.ini.j2 b/templates/config/credentials.ini.j2 new file mode 100644 index 0000000..5fdf1bd --- /dev/null +++ b/templates/config/credentials.ini.j2 @@ -0,0 +1,3 @@ +{% for line in certbot_credentials %} +{{ line }} +{% endfor %}