chiark / gitweb /
roles/common/: Run `make' in `/root/.ssh' when things change.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 9 Jul 2015 09:05:23 +0000 (10:05 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 9 Jul 2015 09:05:23 +0000 (10:05 +0100)
roles/common/handlers/main.yml
roles/common/tasks/main.yml

index 7e82ba4136e084d4f4c4becd116cf92c439f8d28..1b35e241d5c8c02c23cad75470c12f1eec925c48 100644 (file)
 - name: restart ssh
   service: name=ssh state=restarted
 
+###--------------------------------------------------------------------------
+### Rebuliding remote configuration files.
+
+- name: make in /root/.ssh
+  command: make chdir=/root/.ssh
+
 ###----- That's all, folks --------------------------------------------------
index af14057dcfbefa44ef2c4d069b159a413746b4eb..75ec1ff517706022d58919ad51eadb7e196aacc0 100644 (file)
 - name: install main keys for root SSH access
   tags: [ssh, ssh-root]
   template: src=ssh-root-authkeys dest=/root/.ssh/authkeys.base
+  notify: make in /root/.ssh
 
 - name: install keys for root SSH access
   tags: [ssh, ssh-root]
   copy: src=ssh-root/{{ item }} dest=/root/.ssh
+  notify: make in /root/.ssh
   with_items:
     - Makefile
     - config.m4