fedora-ansible/tasks/happy_birthday.yml

10 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