chiark / gitweb /
roles/common/: Organize the `templates/' directory like `files/'.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 9 Jul 2015 09:07:46 +0000 (10:07 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 9 Jul 2015 09:07:46 +0000 (10:07 +0100)
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
roles/common/templates/ssh-root/authkeys.base [moved from roles/common/templates/ssh-root-authkeys with 100% similarity]

index 75ec1ff517706022d58919ad51eadb7e196aacc0..f26ef68eb1105f940f76dd637256e4346b4ed44e 100644 (file)
@@ -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