1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

[cloud] RDS config should be getboolean, as per ec2.ini instructions (#31168)

This commit is contained in:
Avner Cohen 2017-10-02 22:08:31 +03:00 committed by Ryan Brown
parent a7229df469
commit d313c2d5e9

View file

@ -354,7 +354,7 @@ class Ec2Inventory(object):
self.route53_excluded_zones = [a for a in config.get('ec2', 'route53_excluded_zones').split(',') if a]
# Include RDS instances?
self.rds_enabled = config.get('ec2', 'rds')
self.rds_enabled = config.getboolean('ec2', 'rds')
# Include RDS cluster instances?
self.include_rds_clusters = config.getboolean('ec2', 'include_rds_clusters')