- 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 --------------------------------------------------
- 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