From e62fa6a0ddcd6e362f46b30f9e38b2fbbca729b6 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Mon, 13 Jul 2015 10:47:00 +0100 Subject: [PATCH] roles/common/*/main.yml: Rebuild /etc/ssh/sshd_config on change. Just an oversight, I think. --- roles/common/handlers/main.yml | 3 +++ roles/common/tasks/main.yml | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/roles/common/handlers/main.yml b/roles/common/handlers/main.yml index 9f6624d..32a8195 100644 --- a/roles/common/handlers/main.yml +++ b/roles/common/handlers/main.yml @@ -7,6 +7,9 @@ ###-------------------------------------------------------------------------- ### Rebuliding remote configuration files. +- name: make in /etc/ssh/ + command: make chdir=/etc/ssh/ + - name: make in /root/.ssh/ command: make chdir=/root/.ssh/ diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml index d6258e7..bd15a34 100644 --- a/roles/common/tasks/main.yml +++ b/roles/common/tasks/main.yml @@ -60,7 +60,9 @@ - name: install SSH configuration files tags: [ssh, ssh-config] copy: src=ssh-config/{{ item }} dest=/etc/ssh/ - notify: restart ssh + notify: + - make in /etc/ssh/ + - restart ssh with_items: - Makefile - ssh_config -- 2.11.0