ansible/tasks/happy_birthday.yml
2017-12-07 01:31:17 +00:00

9 lines
266 B
YAML

- name: gather ssh host key from new instance
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