diff --git a/tasks/happy_birthday.yml b/tasks/happy_birthday.yml index 362c90464e..95d78b1ee2 100644 --- a/tasks/happy_birthday.yml +++ b/tasks/happy_birthday.yml @@ -2,6 +2,8 @@ local_action: command ssh-keyscan -t rsa {{ inventory_hostname }} ignore_errors: True register: hostkey + when: birthday is defined - name: Include basessh include_role: name=basessh + when: birthday is defined