summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnoop Sood <soodanoop@gmail.com>2018-09-25 06:15:51 -0400
committerJohn R Barker <john@johnrbarker.com>2018-09-25 11:15:51 +0100
commitd1688adefcde8f71d39aeeb009f7c8853b5b7c50 (patch)
treed82a45a2bf80254f1b1e301e21b82e0f39fc8647
parent8213096b7fb6f60f43199743baeb95d4343116f5 (diff)
downloadansible-d1688adefcde8f71d39aeeb009f7c8853b5b7c50.tar.gz
Update sl_vm.py (#43966)
* Update sl_vm.py Updated the list of datacenters to include new datacenters.
-rw-r--r--lib/ansible/modules/cloud/softlayer/sl_vm.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/ansible/modules/cloud/softlayer/sl_vm.py b/lib/ansible/modules/cloud/softlayer/sl_vm.py
index 11a67ff701..2a7b1440ff 100644
--- a/lib/ansible/modules/cloud/softlayer/sl_vm.py
+++ b/lib/ansible/modules/cloud/softlayer/sl_vm.py
@@ -222,8 +222,10 @@ from ansible.module_utils.six import string_types
# TODO: get this info from API
STATES = ['present', 'absent']
-DATACENTERS = ['ams01', 'ams03', 'che01', 'dal01', 'dal05', 'dal06', 'dal09', 'dal10', 'fra02', 'hkg02', 'hou02', 'lon02', 'mel01', 'mex01', 'mil01', 'mon01',
- 'osl01', 'par01', 'sjc01', 'sjc03', 'sao01', 'sea01', 'sng01', 'syd01', 'tok02', 'tor01', 'wdc01', 'wdc04']
+DATACENTERS = ['ams01', 'ams03', 'che01', 'dal01', 'dal05', 'dal06', 'dal09', 'dal10', 'dal12', 'dal13', 'fra02',
+ 'fra04', 'fra05', 'hkg02', 'hou02', 'lon02', 'lon04', 'lon06', 'mel01', 'mex01', 'mil01', 'mon01',
+ 'osl01', 'par01', 'sao01', 'sea01', 'seo01', 'sjc01', 'sjc03', 'sjc04', 'sng01', 'syd01', 'syd04',
+ 'tok02', 'tor01', 'wdc01', 'wdc04', 'wdc06', 'wdc07']
CPU_SIZES = [1, 2, 4, 8, 16, 32, 56]
MEMORY_SIZES = [1024, 2048, 4096, 6144, 8192, 12288, 16384, 32768, 49152, 65536, 131072, 247808]
INITIALDISK_SIZES = [25, 100]