mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
Added replication_source to the results
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user