Enable the email about instances.

This commit is contained in:
Kevin Fenzi 2015-05-13 23:01:33 +00:00
parent 5b7f1a4754
commit 2845d2cd40

View file

@ -23,9 +23,8 @@
- name: add it to the special group
local_action: add_host hostname="{{ nova_result.public_ip }}" groupname=tmp_just_created
#- name: mail off about where it is
# local_action: mail to=sysadmin-main-members@fedoraproject.org from=ansible-create@fedoraproject.org subject={{ public_ip }} msg="cloud instance created on {{ public_ip }}\n {{ hostbase }} {{ root_auth_users }} "
#
- name: mail off about where it is
local_action: mail to=sysadmin-main-members@fedoraproject.org from=ansible-create@fedoraproject.org subject={{ nova_result.public_ip }} msg="transient cloud instance created on {{ nova_result.public_ip }}\n name: {{ name }} root_uath_users: {{ root_auth_users }} image = {{ image }}"
- name: wait for he host to be hot
local_action: wait_for host={{ nova_result.public_ip }} port=22 delay=1 timeout=600