Added replication_source to the results
This commit is contained in:
parent
47bc6e7ff3
commit
078a0ef7c7
1 changed files with 6 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue