From 6e7c74da65592117ebe1d3b69a609bec79e83077 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 30 Jul 2019 19:10:10 +0300 Subject: [PATCH] Refactor(add-apache-vhost): Move dehydrated templates Move dehydrated templates into a separate directory. --- playbooks/debian/roles/add-apache-vhost/tasks/dehydrated.yml | 2 +- .../roles/add-apache-vhost/templates/{ => dehydrated}/config | 0 .../add-apache-vhost/templates/{ => dehydrated}/domains.txt | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename playbooks/debian/roles/add-apache-vhost/templates/{ => dehydrated}/config (100%) rename playbooks/debian/roles/add-apache-vhost/templates/{ => dehydrated}/domains.txt (100%) diff --git a/playbooks/debian/roles/add-apache-vhost/tasks/dehydrated.yml b/playbooks/debian/roles/add-apache-vhost/tasks/dehydrated.yml index 4775e65..cfd8725 100644 --- a/playbooks/debian/roles/add-apache-vhost/tasks/dehydrated.yml +++ b/playbooks/debian/roles/add-apache-vhost/tasks/dehydrated.yml @@ -10,7 +10,7 @@ - name: Configure dehydrated become: true template: - src: "{{ item }}" + src: "dehydrated/{{ item }}" dest: "/usr/local/apache2/.dehydrated/{{ virtual_host }}" owner: root group: root diff --git a/playbooks/debian/roles/add-apache-vhost/templates/config b/playbooks/debian/roles/add-apache-vhost/templates/dehydrated/config similarity index 100% rename from playbooks/debian/roles/add-apache-vhost/templates/config rename to playbooks/debian/roles/add-apache-vhost/templates/dehydrated/config diff --git a/playbooks/debian/roles/add-apache-vhost/templates/domains.txt b/playbooks/debian/roles/add-apache-vhost/templates/dehydrated/domains.txt similarity index 100% rename from playbooks/debian/roles/add-apache-vhost/templates/domains.txt rename to playbooks/debian/roles/add-apache-vhost/templates/dehydrated/domains.txt -- 2.39.5