Added replication_source to the results

reviewable/pr18780/r1
Bruce Pennypacker 12 years ago
parent 47bc6e7ff3
commit 078a0ef7c7

@ -511,7 +511,12 @@ def main():
d["endpoint"] = None
d["port"] = None
# ReadReplicaSourceDBInstanceIdentifier may or may not exist
try:
d["replication_source"] = my_inst.ReadReplicaSourceDBInstanceIdentifier
except Exception, e:
d["replication_source"] = None
module.exit_json(changed=True, instance=d)
# this is magic, see lib/ansible/module_common.py

Loading…
Cancel
Save