From: Mark Wooding Date: Thu, 9 Jul 2015 09:07:46 +0000 (+0100) Subject: roles/common/: Organize the `templates/' directory like `files/'. X-Git-Url: https://git.distorted.org.uk/~mdw/distorted-ansible/commitdiff_plain/3f1ea36d39993a86f47ec5658455305d38f08f37 roles/common/: Organize the `templates/' directory like `files/'. There's one subdirectory for each task group, and files inside are named more-or-less after what they'll be called at the remote end. --- diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml index 75ec1ff..f26ef68 100644 --- a/roles/common/tasks/main.yml +++ b/roles/common/tasks/main.yml @@ -45,7 +45,7 @@ - name: install main keys for root SSH access tags: [ssh, ssh-root] - template: src=ssh-root-authkeys dest=/root/.ssh/authkeys.base + template: src=ssh-root/authkeys.base dest=/root/.ssh/authkeys.base notify: make in /root/.ssh - name: install keys for root SSH access diff --git a/roles/common/templates/ssh-root-authkeys b/roles/common/templates/ssh-root/authkeys.base similarity index 100% rename from roles/common/templates/ssh-root-authkeys rename to roles/common/templates/ssh-root/authkeys.base