From a9c307a3d6e070d40794f3cbc7bfae3b3deeb1f1 Mon Sep 17 00:00:00 2001 From: Matt Willsher Date: Wed, 14 Jan 2015 19:44:17 +0000 Subject: [PATCH] Register fact when this role has run --- tasks/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index b4d6268..85e47ba 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -40,3 +40,7 @@ state: running tags: - sshd + +- name: Register that this role has run + set_fact: sshd_has_run=true + when: sshd_has_run is not defined