From 2845d2cd40739825732d38d3dcf758b96ce70d6f Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 13 May 2015 23:01:33 +0000 Subject: [PATCH] Enable the email about instances. --- tasks/transient_cloud_new.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tasks/transient_cloud_new.yml b/tasks/transient_cloud_new.yml index a524f4c060..3ac63d37ea 100644 --- a/tasks/transient_cloud_new.yml +++ b/tasks/transient_cloud_new.yml @@ -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