1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
Commit graph

27 commits

Author SHA1 Message Date
James E. King III
75788ecff4 azure_rm_virtualmachine (and _facts): add boot_diagnostics control and facts () 2019-05-14 12:06:06 -07:00
Zim Kalinowski
9c77509cbc
azure virtual machine facts -- querying all machines in subscription fix () 2019-03-21 15:53:44 +08:00
Zim Kalinowski
b906db5f2a
removed state present which is default () 2019-03-07 13:13:12 +08:00
Zim Kalinowski
be859a9f8e
Automatically removing all resources allocated by VM () 2019-01-28 12:27:32 +08:00
Zim Kalinowski
b89eb7a8c9
Support for generalizing VMs () 2018-12-10 16:21:09 +08:00
Zim Kalinowski
16fa49a894 adding os disk name ()
* adding os disk name

* fixed test
2018-09-19 16:51:37 -07:00
Zim Kalinowski
1f8635fbd9 Virtual machine facts - retrieving instance view () 2018-09-04 11:25:01 +08:00
Zim Kalinowski
9bd702ef37 vm size idempotence () 2018-09-04 09:41:41 +08:00
Matt Clay
debc1e229e Split Azure tests into 8 groups. 2018-08-30 23:21:57 -07:00
Yunge Zhu
f6fa5a11bb azure vm test: async second vm deletion ()
* async second vm deletion

* fix typo

* random resource names, comment out disable steps

* fix syntax

* fix syntax error again

* fix test

* fix typo
2018-08-31 12:14:55 +08:00
Zim Kalinowski
3b5b15ee5a
Adding azure_rm_virtualmachine_facts to azure_rm_virtualmachine test alias ()
* add virtual machine facts to virtual machine test

* removed empty line
2018-08-30 16:31:21 +08:00
Jasper Aorangi
2541a8c494 azure_rm_virtualmachine: Add 'accept_terms' for accepting terms when deploying paid marketplace images ()
azure_rm_storageaccount: Add 'StandardSSD_LRS', and choices to correct unrelated sanity error
2018-08-29 17:14:44 -07:00
Zim Kalinowski
9788951789
Adding os_disk_size_gb parameter to Virtual Machine ()
* added os disk size gb

* fixed mistake

* added os_disk_size_gb to test

* fixed test

* no default for disk size
2018-08-23 15:36:58 +08:00
Yunge Zhu
ee4b879328 remove unstable tag from azure tests () 2018-08-16 17:44:00 +08:00
Yuwei Zhou
7314aa7298 Fixes : Virtual machine can refer existing NIC from other resource group () 2018-08-01 10:52:21 +08:00
Gustavo Muniz do Carmo
5149ab1e00 New module request: azure_rm_virtualmachine_facts ()
* New module request: azure_rm_virtualmachine_facts 

* New module request: azure_rm_virtualmachine_facts   pep8 fixes

* New module request: azure_rm_virtualmachine_facts   validate-modules fixes

* New module request: azure_rm_virtualmachine_facts   serialize_vm

* New module request: azure_rm_virtualmachine_facts   get_item

* New module request: azure_rm_virtualmachine_facts   avoid get vm twice

* New module request: azure_rm_virtualmachine_facts   some jborean93 requests

* New module request: azure_rm_virtualmachine_facts   camel_dict_to_snake_dict

* New module request: azure_rm_virtualmachine_facts   integration test

* New module request: azure_rm_virtualmachine_facts   virtual network required

* New module request: azure_rm_virtualmachine_facts   consider additional vms present

* New module request: azure_rm_virtualmachine_facts   trailing comma

* New module request: azure_rm_virtualmachine_facts   remove from smoketest

* New module request: azure_rm_virtualmachine_facts   filtering by tag fix

* New module request: azure_rm_virtualmachine_facts   virtual network issues fix

* New module request: azure_rm_virtualmachine_facts   remove trailing comma

* adding curated format for vm

* New module request: azure_rm_virtualmachine_facts   rights to zim + lint fixes

* clean up

* updates to vm facts

* commented out failing thing

* fixed mistake

* New module request: azure_rm_virtualmachine_facts 

* New module request: azure_rm_virtualmachine_facts   pep8 fixes

* New module request: azure_rm_virtualmachine_facts   validate-modules fixes

* fixed test

* fixed test problem

* New module request: azure_rm_virtualmachine_facts   serialize_vm

* New module request: azure_rm_virtualmachine_facts   get_item

* New module request: azure_rm_virtualmachine_facts   avoid get vm twice

* New module request: azure_rm_virtualmachine_facts   some jborean93 requests

* New module request: azure_rm_virtualmachine_facts   camel_dict_to_snake_dict

* New module request: azure_rm_virtualmachine_facts   integration test

* New module request: azure_rm_virtualmachine_facts   virtual network required

* New module request: azure_rm_virtualmachine_facts   consider additional vms present

* New module request: azure_rm_virtualmachine_facts   trailing comma

* New module request: azure_rm_virtualmachine_facts   remove from smoketest

* New module request: azure_rm_virtualmachine_facts   filtering by tag fix

* New module request: azure_rm_virtualmachine_facts   virtual network issues fix

* New module request: azure_rm_virtualmachine_facts   remove trailing comma

* adding curated format for vm

* New module request: azure_rm_virtualmachine_facts   rights to zim + lint fixes

* clean up

* updates to vm facts

* commented out failing thing

* fixed mistake

* fixed test

* fixed test problem

* ldap_entry 'Tuple_to_LDAPMod(): expected a byte string in the list' issue

* Revert "ldap_entry 'Tuple_to_LDAPMod(): expected a byte string in the list' issue"

This reverts commit efe316c52e5a70fc1aa9f58eff3a9d5b2599763f.

* changed return value

* fixed test

* fixed test mistake

* one space too much

* removed change made by mistake

* virtual machine description

* remove example

* fixed yaml
2018-08-01 10:23:50 +08:00
Matt Clay
4e489d1be8
Update Shippable integration test groups. ()
* Update Shippable integration test groups.
* Update integration test group aliases.
* Rebalance AWS and Azure tests with extra group.
* Rebalance Windows tests with another group.
2018-07-23 20:46:22 -07:00
Jasper Aorangi
08f071eb7a Fix by ensuring that the first nic in the nic list is primary ()
* Fix  by ensuring that the first nic in the nic list has primary set to True, and all other nics have primary set to False.

* Fix sanity issues and add test for two nics

* Fix typo in test

* fix nic list

* Ensure the niclist variable is used rather than a niclist string

* Add tests just for dual nic, reverting changes to single nic VM creation tests

* Correct idempotency test
2018-04-25 23:16:25 -07:00
Matt Clay
8a223009ca
Improve handling of integration test aliases. ()
* Include change classification data in metadata.
* Add support for disabled tests.
* Add support for unstable tests.
* Add support for unsupported tests.
* Overhaul integration aliases sanity test.
* Update Shippable scripts to handle unstable tests.
* Mark unstable Azure tests.
* Mark unstable Windows tests.
* Mark disabled tests.
2018-04-12 16:15:28 -07:00
Zim Kalinowski
0b828ee830 azure_rm_virtualmachine: adding possibility of disabling public ip address ()
* adding possibility of disabling public ip address

* fixed indent

* fixed whitespace

* fixed mistake

* try to create test with vm without public ip address

* try to fix test

* another attempt for test

* fixing test

* create vm with no ip with different name and delete it immediately

* a few additional fixes

* another attempt to pass test

* must be deleted

* simplified no ip test

* reorganised tests

* Wrapped choice in C()
2018-03-22 09:30:42 +10:00
Matt Clay
58eb2e849d Disable unstable azure_rm_virtualmachine test. 2018-03-15 13:48:03 -07:00
Matt Davis
e726c7ecf7 disable host_key_checking in virtualmachine test 2018-01-17 11:12:16 -08:00
Matt Davis
d7fbc94758
add custom_action support to azure_rm_virtualmachine ()
* Adds custom_data parameter to azure virtual machine resource

Invoke custom_data in an integration test: This invocation of
custom_data should not cause any side effects.

* Bugfix: String encoding now works in both python2 and 3

* Fix pep8 violations

* Use nginx to serve a text file created via custom_data and verify that
that custom_data is working

* fix up azure_rm_virtualmachine custom_data

* tweaks  
* simplify string encoding fun
* don't rely on external packages
2018-01-16 21:05:35 -08:00
Matt Clay
2ece86fba1 Split up cloud tests to avoid 1 hour CI limit. 2017-11-23 02:33:56 -08:00
Yuwei Zhou
e4194b20db Azure create virtual machine with an Availability Set associate ()
* add availability set for vm

* add test

* add import

* fix

* add test assert and output

* fix lint and version added

* add null check

* fix mirror

* fix mirror
2017-11-22 20:53:53 -08:00
Jordan Borean
abc4210a33 azure_rm_virtualmachine: add custom image support ()
* azure_rm_virtualmachine: added support for specifying custom image

* Use separate parameter for custom_image, add very basic test

* missed the version_added tag for doco

* removed whitespace I accidentally left in

* merged custom image into the image dict and added more tests

* added one more test
2017-11-09 18:48:14 -05:00
Matt Davis
035a17e8aa migrate azure_rm_vm tests to active () 2017-09-15 22:48:30 -07:00