aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/letsencrypt
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-08-20 23:02:06 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-08-20 23:02:08 +0200
commitc054d22c4818d916ac6dd9c8d7a7a2c614408e17 (patch)
treec0239045b1587cd950fd1d777f0c84fe5c23aa92 /roles/letsencrypt
parentadd ansible_managed comment to templates (diff)
downloadinfra-ansible-c054d22c4818d916ac6dd9c8d7a7a2c614408e17.tar.gz
infra-ansible-c054d22c4818d916ac6dd9c8d7a7a2c614408e17.zip
append .j2 extension to templates
I saw a good point somewhere that it should help with syntax highlighting.
Diffstat (limited to '')
-rw-r--r--roles/letsencrypt/tasks/digitalocean.yml2
-rw-r--r--roles/letsencrypt/tasks/domain.yml2
-rw-r--r--roles/letsencrypt/templates/certbot.ini.j2 (renamed from roles/letsencrypt/templates/certbot.ini)0
-rw-r--r--roles/letsencrypt/templates/domain_list.txt.j2 (renamed from roles/letsencrypt/templates/domain_list.txt)0
4 files changed, 2 insertions, 2 deletions
diff --git a/roles/letsencrypt/tasks/digitalocean.yml b/roles/letsencrypt/tasks/digitalocean.yml
index 6cb1198..42f4ec0 100644
--- a/roles/letsencrypt/tasks/digitalocean.yml
+++ b/roles/letsencrypt/tasks/digitalocean.yml
@@ -21,7 +21,7 @@
- name: Configure certbot.ini
ansible.builtin.template:
- src: certbot.ini
+ src: certbot.ini.j2
dest: '{{ certbot_ini }}'
owner: root
group: root
diff --git a/roles/letsencrypt/tasks/domain.yml b/roles/letsencrypt/tasks/domain.yml
index d3cb50a..636230a 100644
--- a/roles/letsencrypt/tasks/domain.yml
+++ b/roles/letsencrypt/tasks/domain.yml
@@ -6,7 +6,7 @@
block:
- name: Cache domain list
ansible.builtin.template:
- src: domain_list.txt
+ src: domain_list.txt.j2
dest: '/etc/letsencrypt/.domains_{{ certificate_name }}.txt'
owner: root
group: root
diff --git a/roles/letsencrypt/templates/certbot.ini b/roles/letsencrypt/templates/certbot.ini.j2
index 71095d6..71095d6 100644
--- a/roles/letsencrypt/templates/certbot.ini
+++ b/roles/letsencrypt/templates/certbot.ini.j2
diff --git a/roles/letsencrypt/templates/domain_list.txt b/roles/letsencrypt/templates/domain_list.txt.j2
index d45c7f0..d45c7f0 100644
--- a/roles/letsencrypt/templates/domain_list.txt
+++ b/roles/letsencrypt/templates/domain_list.txt.j2