]> git.phdru.name Git - ansible.git/commitdiff
Refactor(add-apache-vhost): Move dehydrated templates
authorOleg Broytman <phd@phdru.name>
Tue, 30 Jul 2019 16:10:10 +0000 (19:10 +0300)
committerOleg Broytman <phd@phdru.name>
Tue, 30 Jul 2019 16:10:10 +0000 (19:10 +0300)
Move dehydrated templates into a separate directory.

playbooks/debian/roles/add-apache-vhost/tasks/dehydrated.yml
playbooks/debian/roles/add-apache-vhost/templates/dehydrated/config [moved from playbooks/debian/roles/add-apache-vhost/templates/config with 100% similarity]
playbooks/debian/roles/add-apache-vhost/templates/dehydrated/domains.txt [moved from playbooks/debian/roles/add-apache-vhost/templates/domains.txt with 100% similarity]

index 4775e65a6063370a2bedff8bfa609a00c26dfece..cfd8725f9c375597d15f7c75e6ef56623094a46a 100644 (file)
@@ -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