mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
different quoting format?
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
register: inst_res
|
||||
|
||||
- name: add it to the special group
|
||||
local_action: add_host hostname='${inst_res.instances[0].public_ip}' groupname=tmp_just_created
|
||||
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} "
|
||||
|
||||
Reference in New Issue
Block a user