diff options
author | Avner Cohen <israbirding@gmail.com> | 2017-10-02 22:08:31 +0300 |
---|---|---|
committer | Ryan Brown <sb@ryansb.com> | 2017-10-02 15:08:31 -0400 |
commit | d313c2d5e9011394975756d6f7347de85b31cdcd (patch) | |
tree | 56e4a72d17b2965d73932a68ebee2951794abe8e /contrib | |
parent | a7229df469a7fe4e147fea7edced84d4568e204c (diff) | |
download | ansible-d313c2d5e9011394975756d6f7347de85b31cdcd.tar.gz |
[cloud] RDS config should be getboolean, as per ec2.ini instructions (#31168)
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/inventory/ec2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/inventory/ec2.py b/contrib/inventory/ec2.py index 41ab56190f..4d3474cffe 100755 --- a/contrib/inventory/ec2.py +++ b/contrib/inventory/ec2.py @@ -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') |