From 3f1ea36d39993a86f47ec5658455305d38f08f37 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Thu, 9 Jul 2015 10:07:46 +0100 Subject: [PATCH] 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. --- roles/common/tasks/main.yml | 2 +- roles/common/templates/{ssh-root-authkeys => ssh-root/authkeys.base} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename roles/common/templates/{ssh-root-authkeys => ssh-root/authkeys.base} (100%) 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 -- 2.11.0