Only offer available DigitalOcean regions (#14447)

pull/14257/head^2
David Myers 3 years ago committed by GitHub
parent 9f241b1886
commit c0968a8fdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -24,7 +24,7 @@
- name: Set facts about the regions
set_fact:
do_regions: "{{ _do_regions.json.regions | sort(attribute='slug') }}"
do_regions: "{{ _do_regions.json.regions | selectattr('available', 'true') | sort(attribute='slug') }}"
- name: Set default region
set_fact:

Loading…
Cancel
Save