summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeth Vidal <skvidal@fedoraproject.org>2013-02-25 22:14:07 +0000
committerSeth Vidal <skvidal@fedoraproject.org>2013-02-25 22:14:07 +0000
commita23f7d4be92e166bb36618341109cfbc781afcae (patch)
tree25f0eba3576d9157a2d44d79b56c6fe677334cd0
parent2dec9cb3b94712835c93dfbefb10b8111929c0dd (diff)
downloadansible-a23f7d4be92e166bb36618341109cfbc781afcae.tar.gz
ansible-a23f7d4be92e166bb36618341109cfbc781afcae.tar.xz
ansible-a23f7d4be92e166bb36618341109cfbc781afcae.zip
when a transient instance comes up - make sure we see who it is for and who can login in the email
-rw-r--r--tasks/transient_cloud.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/transient_cloud.yml b/tasks/transient_cloud.yml
index 074a57778..297af63de 100644
--- a/tasks/transient_cloud.yml
+++ b/tasks/transient_cloud.yml
@@ -7,7 +7,7 @@
local_action: add_host hostname=${inst_res.instances[0].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=${inst_res.instances[0].public_ip} msg="cloud instance created on ${inst_res.instances[0].public_ip}\n instance id - ${inst_res.instances[0].id} "
+ local_action: mail to=sysadmin-main-members@fedoraproject.org from=ansible-create@fedoraproject.org subject=${inst_res.instances[0].public_ip} msg="cloud instance created on ${inst_res.instances[0].public_ip}\n instance id - ${inst_res.instances[0].id} - ${hostbase} ${root_auth_users} "
- name: wait for the host to be hot
local_action: wait_for host=${inst_res.instances[0].public_ip} port=22 delay=2 timeout=300