Fix loading from cache in ec2.py inventory plugin.
Gracefully handle failed ALTER ROLE on read-only servers.  Relevant to streaming replication and standby servers.