mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-07-17 12:10:34 +08:00
How about this?
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
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={{ 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 }}"
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user