mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
digital_ocean: make sure 'images' includes non-global images
The `dopy` library function all_images includes a 'global' filter by default. This was preventing private images from showing up in --images. The problem also made this script fail immediately for people who had droplets previously created with private images.
This commit is contained in:
parent
3f6bc3f664
commit
9b1a57f1f3
1 changed files with 1 additions and 1 deletions
|
@ -300,7 +300,7 @@ or environment variables (DO_CLIENT_ID and DO_API_KEY)'''
|
||||||
self.data = {}
|
self.data = {}
|
||||||
self.data['droplets'] = self.sanitize_list( manager.all_active_droplets() )
|
self.data['droplets'] = self.sanitize_list( manager.all_active_droplets() )
|
||||||
self.data['regions'] = self.sanitize_list( manager.all_regions() )
|
self.data['regions'] = self.sanitize_list( manager.all_regions() )
|
||||||
self.data['images'] = self.sanitize_list( manager.all_images() )
|
self.data['images'] = self.sanitize_list( manager.all_images(filter=None) )
|
||||||
self.data['sizes'] = self.sanitize_list( manager.sizes() )
|
self.data['sizes'] = self.sanitize_list( manager.sizes() )
|
||||||
self.data['ssh_keys'] = self.sanitize_list( manager.all_ssh_keys() )
|
self.data['ssh_keys'] = self.sanitize_list( manager.all_ssh_keys() )
|
||||||
self.data['domains'] = self.sanitize_list( manager.all_domains() )
|
self.data['domains'] = self.sanitize_list( manager.all_domains() )
|
||||||
|
|
Loading…
Reference in a new issue