community.general/lib/ansible/modules/cloud/misc
Gonéri Le Bouder fc3064471b virt_net: idempotency of create/stop actions (#53276)
Currently, if we try to stop or start a network two time in a row, the
second call will fail. With this patch:

- we don't recreate a network, if it exists
- we only stop a network if it's active, and so we avoid an exception
  saying the network is not active

* test: mock libvirt

* add integration tests for virt_net

* test: enable virt_net test on RedHat 7 and 8

* ci: use the unsupported alias

* tests that require privileged mode are run in VM

* virt_net/create raise unexpected libvirt exception

* import mock from units.compat

* virt_net: do not call create() on "active" network

* virt_net func test: only clean up the libvirt packages

* test: virt_net: don't use assert_called()

* virt_net: add the destructive alias

* move the test in virt_net dir

* test/virt_net: clean up the network at the end
2019-03-28 21:42:35 +05:30
..
__init__.py
cloud_init_data_facts.py Misc typo fixes (#49816) 2018-12-14 15:12:58 +05:30
helm.py Bulk fix DOCUMENTATION.author (Part 1) (#48934) 2018-11-20 19:31:35 +00:00
ovirt.py Update bare exceptions to specify Exception. 2018-12-16 15:03:19 -08:00
proxmox.py proxmox: doc: Fix example for restart container (#46602) 2018-10-07 23:22:14 +02:00
proxmox_kvm.py Assorted pylint fixes 2019-02-15 06:54:47 -08:00
proxmox_template.py Clean up BOTMETA.yml (#44574) 2018-08-24 19:43:35 -04:00
rhevm.py Minor Undefined variable fixes (#53383) 2019-03-08 08:35:13 -05:00
serverless.py serverless: Fix validate-modules issues (#52435) 2019-02-22 11:35:48 +00:00
terraform.py Terraform: Allow lock flag to get set to false (#53873) 2019-03-17 09:04:02 +05:30
virt.py Fix incorrect use of `is` for comparisons. 2019-02-12 16:33:13 -08:00
virt_net.py virt_net: idempotency of create/stop actions (#53276) 2019-03-28 21:42:35 +05:30
virt_pool.py Fix incorrect use of `is` for comparisons. 2019-02-12 16:33:13 -08:00
xenserver_facts.py Port from plaform.dist to ansible.module_utils.distro.linux_distribution 2018-12-17 11:01:01 -08:00