From: Oleg Broytman Date: Tue, 30 Jul 2019 16:10:10 +0000 (+0300) Subject: Refactor(add-apache-vhost): Move dehydrated templates X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=6e7c74da65592117ebe1d3b69a609bec79e83077;p=ansible.git Refactor(add-apache-vhost): Move dehydrated templates Move dehydrated templates into a separate directory. --- 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