mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
bb5a1f7440
Add db_clusters to the ec2 inventory. Show tags. Only show clusters matching tags in the `.ini`. Set `include_rds_clusters = True` option to enable RDS cluster inventory collection. Example inventory output: ``` { "db_clusters": { "ryansb-cluster-test": { "AllocatedStorage": 1, "AvailabilityZones": [ "us-west-2a", "us-west-2b", "us-west-2c" ], "BackupRetentionPeriod": 1, "DBClusterIdentifier": "ryansb-cluster-test", "DBClusterMembers": [ { "DBClusterParameterGroupStatus": "in-sync", "DBInstanceIdentifier": "ryansb-test", "IsClusterWriter": true, "PromotionTier": 1 }, { "DBClusterParameterGroupStatus": "in-sync", "DBInstanceIdentifier": "ryansb-test-us-west-2b", "IsClusterWriter": false, "PromotionTier": 1 } ], "DBClusterParameterGroup": "default.aurora5.6", "DBSubnetGroup": "default", "DatabaseName": "mydb", "DbClusterResourceId": "cluster-OB6H7JQURFKFD4BYNHG5HSRLBA", "Endpoint": "ryansb-cluster-test.cluster-c9ntgaejgqln.us-west-2.rds.amazonaws.com", "Engine": "aurora", "EngineVersion": "5.6.10a", "MasterUsername": "admin", "Port": 3306, "PreferredBackupWindow": "06:09-06:39", "PreferredMaintenanceWindow": "mon:11:22-mon:11:52", "ReadReplicaIdentifiers": [], "Status": "available", "StorageEncrypted": false, "VpcSecurityGroups": [ { "Status": "active", "VpcSecurityGroupId": "sg-47eaea20" } ] } }, "rds": [ "ryansb_test_c9ntgaejgqln_us_west_2_rds_amazonaws_com", "ryansb_test_us_west_2b_c9ntgaejgqln_us_west_2_rds_amazonaws_com" ], "rds_aurora": [ "ryansb_test_c9ntgaejgqln_us_west_2_rds_amazonaws_com", "ryansb_test_us_west_2b_c9ntgaejgqln_us_west_2_rds_amazonaws_com" ], "rds_parameter_group_default_aurora5_6": [ "ryansb_test_c9ntgaejgqln_us_west_2_rds_amazonaws_com", "ryansb_test_us_west_2b_c9ntgaejgqln_us_west_2_rds_amazonaws_com" ], "ryansb-test": [ "ryansb_test_c9ntgaejgqln_us_west_2_rds_amazonaws_com" ], "ryansb-test-us-west-2b": [ "ryansb_test_us_west_2b_c9ntgaejgqln_us_west_2_rds_amazonaws_com" ], "type_db_r3_large": [ "ryansb_test_c9ntgaejgqln_us_west_2_rds_amazonaws_com", "ryansb_test_us_west_2b_c9ntgaejgqln_us_west_2_rds_amazonaws_com" ], "us-west-2": [ "ryansb_test_c9ntgaejgqln_us_west_2_rds_amazonaws_com", "ryansb_test_us_west_2b_c9ntgaejgqln_us_west_2_rds_amazonaws_com" ], "us-west-2a": [ "ryansb_test_c9ntgaejgqln_us_west_2_rds_amazonaws_com" ], "us-west-2b": [ "ryansb_test_us_west_2b_c9ntgaejgqln_us_west_2_rds_amazonaws_com" ], "vpc_id_vpc_3ca34459": [ "ryansb_test_c9ntgaejgqln_us_west_2_rds_amazonaws_com", "ryansb_test_us_west_2b_c9ntgaejgqln_us_west_2_rds_amazonaws_com" ] } ``` |
||
---|---|---|
.. | ||
abiquo.ini | ||
abiquo.py | ||
apache-libcloud.py | ||
azure_rm.ini | ||
azure_rm.py | ||
brook.ini | ||
brook.py | ||
cloudstack.ini | ||
cloudstack.py | ||
cobbler.ini | ||
cobbler.py | ||
collins.ini | ||
collins.py | ||
consul.ini | ||
consul_io.py | ||
digital_ocean.ini | ||
digital_ocean.py | ||
docker.py | ||
docker.yml | ||
ec2.ini | ||
ec2.py | ||
fleet.py | ||
freeipa.py | ||
gce.ini | ||
gce.py | ||
jail.py | ||
landscape.py | ||
libcloud.ini | ||
libvirt_lxc.py | ||
linode.ini | ||
linode.py | ||
lxc_inventory.py | ||
nagios_ndo.ini | ||
nagios_ndo.py | ||
nova.ini | ||
nova.py | ||
nsot.py | ||
nsot.yaml | ||
openshift.py | ||
openstack.py | ||
openstack.yml | ||
openvz.py | ||
ovirt.ini | ||
ovirt.py | ||
proxmox.py | ||
rackhd.py | ||
rax.ini | ||
rax.py | ||
rudder.ini | ||
rudder.py | ||
serf.py | ||
softlayer.py | ||
spacewalk.ini | ||
spacewalk.py | ||
ssh_config.py | ||
vagrant.py | ||
vbox.py | ||
vmware.ini | ||
vmware.py | ||
vmware_inventory.ini | ||
vmware_inventory.py | ||
windows_azure.ini | ||
windows_azure.py | ||
zabbix.ini | ||
zabbix.py | ||
zone.py |