Commit Graph

14250 Commits (3691c784d25c173f0967f536c52ee0c15922948d)

Author SHA1 Message Date
Fabio Alessandro Locati ea46d5548b Native YAML - cloud/softlayer/sl_vm.py (#19056)
* Native YAML - cloud/softlayer/sl_vm.py

* Pointless to delegate/localaction, since we are already running on localhost
9 years ago
Fabio Alessandro Locati ee27c688fd Unquote strings that do not need quotes and retab - clustering/consul.py (#18834) 9 years ago
Fabio Alessandro Locati b811350f00 Native YAML - web_infrastructure/jira.py (#18832) 9 years ago
Fabio Alessandro Locati 21940f8c8e Remove unneeded quotes - source_control/bzr.py (#18825) 9 years ago
Fabio Alessandro Locati 19f0b5f1cc Remove unneeded quotes - notification/slack.py (#18826) 9 years ago
Fabio Alessandro Locati 6c06aeb792 Explicitally add the state - system/authorized_key.py (#18837) 9 years ago
Fabio Alessandro Locati 464e1b6a5a Improve the dependency on univention (aka: declare it and fail nicely if it is not present) (#18840) 9 years ago
Fabio Alessandro Locati 60f6bab430 Remove x bit - windows/win_copy.py (#18824) 9 years ago
Fabio Alessandro Locati 013722d974 Inline attays (#19061) 9 years ago
Fabio Alessandro Locati e5bc2e0570 Put spaces between graphs and var name (#19063) 9 years ago
Andy Freeland 72310ff3e8 Fix `wait` parameter in ec2 module docs (#19037)
Fixes #18913.
9 years ago
Fabio Alessandro Locati 2b47246e94 Native YAML - source_control/gitlab_user (#19053) 9 years ago
Fabio Alessandro Locati ba22514d47 Native YAML - source_control/gitlab_group (#19054) 9 years ago
Fabio Alessandro Locati 503f4c48db Inline array in example (#19055) 9 years ago
Fabio Alessandro Locati 3fa1ddc9db Native YAML - source_control/gitlab_project (#19062)
* Native YAML - source_control/gitlab_project

* Use example domain as for RFC2606
9 years ago
René Moser 345e39e1b1 cloudstack: cs_instance: fix userdata not up to date (#18942)
Fixes unnecessary VM restart.

VM userdata is currently not returned by the API listVirtualMachine and task will always be marked as changed in has_changed(), which will result in an unnecessary VM restart if force=true.

Reported by @Mayeu
9 years ago
Matt Clay 1da20c9716 Clean up issue templates. (#19011)
* Remove legacy GitHub templates.
* Remove references to module repos.
9 years ago
Matt Clay c709b22e5c Fix differences with devel. 9 years ago
James Cammarata fa5386c488 Some additional module cleanup of mistakes made during merging 9 years ago
James Cammarata 6ba6819446 Re-adding the init py for modules 9 years ago
Matt Davis cb1888125d add metadata to doc support (#18802)
fix broken module docs
change doc AST id extraction to use == instead of in
9 years ago
Fabio Alessandro Locati c786f7ca3c Native YAML - monitoring/logicmonitor.py (#18790)
* Native YAML - monitoring/logicmonitor.py

* Fix comments as well

* Fix quotes
9 years ago
Matt Clay 851b264fb0 Add missing znode module description. 9 years ago
Fabio Alessandro Locati f5da520bbb Consistency in space between parenthesys (#18796) 9 years ago
Fabio Alessandro Locati f8832bf302 Native YAML - monitoring/boundary_meter (#18791)
* Native YAML - monitoring/boundary_meter

* Fix apikey
9 years ago
Fabio Alessandro Locati 327cff7274 Native YAML - monitoring/pagerduty_alert (#18784) 9 years ago
Toshio Kuratomi df9059936b Metadata Status needs to be a list, not a scalar.
The default metadata was specified with a string "preview" instead of
the list ["preview"].
9 years ago
James Cammarata 14833f1c7a A few more organizational cleanups from the repo merge 9 years ago
James Cammarata 011ea55a8f Relocating extras into lib/ansible/modules/ after merge 9 years ago
James Cammarata c65ba07d2c Cleaning up diffs after extras modules merge 9 years ago
Toshio Kuratomi 2cfa25c930 Add metadata for xbps
Pass pyflakes
9 years ago
James Cammarata d2fc24b771 Removing unnecessary files before repo merge 9 years ago
Toshio Kuratomi bd12c4bfe7 Refreshed metadata for extras modules 9 years ago
Ryan S. Brown 92588923f4 Style fix for xbps module 9 years ago
Dino Occhialini 3821ea020f Add XBPS module (#1749)
Adds xbps module for managing Void Linux packages.

Currently supports:
* Installation
* Removal
* Updating Specific Packages
* Updating All Packages
* Updating package cache
9 years ago
Slezhuk Evgeniy 867c85af05 Add 'link' action to jira module 9 years ago
Ben Tomasik 62acd6286f Add check mode support (#3523) 9 years ago
0livd ff4deba55d Fetch vmid from the ProxmoxAPI when not set (#3591)
The vmid is no longer a required parameter
For the 'present' state:
 If not set, the next available one will be fetched from the API
For the 'started', 'stopped', 'restarted' and 'absent' states:
 If not set, the module will try to fetch it from the API based on the hostname
Inspired from the behavior of the proxmox_kvm module
9 years ago
Fabian Krämer 320ae068ed Allow Datadog monitors to be retrieved by id instead of name. (#3456) 9 years ago
David Stygstra 5454c562e9 Fix #3410 (#3411)
A port with the same name as the bridge is implicitly created for every
bridge, but it doesn't show in in `ovs-vsctl list-ports BRIDGE`.
9 years ago
MDCollins 7d8d830aee Update the status codes to look for (#2120)
Creation of a maintenance window returns a 201 (PagerDuty Developer documentation is unfortunately incorrect). Deleting a maintenance window returns a 204.
9 years ago
Colin Walters 5bfbeadca3 yum_repository: use https:// for EPEL examples (#3464)
This whole module is really lacking in security guidelines, but
downloading RPMs via plain `http://` without gpg is quite bad.  Let's
use `https://` for the EPEL examples for a start.
9 years ago
Arthur 9513388819 Update route53_zone.py fix indentation typo in examples (#3255) 9 years ago
Bill Wang 246ce5aa85 improve example for module ec2_vpc_subnet_facts (#3511) 9 years ago
Ondra Machacek 937117d871 Add oVirt ovirt_permissions and ovirt_permissions_facts modules (#3160) 9 years ago
Ondra Machacek 1d7c2eb00d Add oVirt ovirt_external_providers and ovirt_external_providers_facts modules (#3168) 9 years ago
Ondra Machacek 995ac40e8e Add oVirt ovirt_vmpools and ovirt_vmpools_facts modules (#3171) 9 years ago
Ondra Machacek 55274a4eec Add oVirt ovirt_quotas and ovirt_quotas_facts modules (#3172) 9 years ago
Ondra Machacek f6e257201c Add oVirt ovirt_nics and ovirt_nics_facts modules (#3205) 9 years ago
Ondra Machacek 489272890a Add oVirt ovirt_templates and ovirt_templates_facts modules (#3221) 9 years ago
Ondra Machacek 42737bc7c3 Add oVirt ovirt_storage_domains and ovirt_storage_domains_facts modules (#3222) 9 years ago
Ondra Machacek 190357e51f Add oVirt ovirt_vms_facts module (#3226) 9 years ago
Ondra Machacek 1057c2f89d ovirt_vms: Add new cloud_init_nics parameter (#3557) 9 years ago
Ondra Machacek 370d8332ae Add oVirt ovirt_affinity_labels and ovirt_affinity_labels_facts modules (#3570) 9 years ago
Ondra Machacek 6ade61a3ba Add oVirt users/groups and users_facts/group/facts modules (#3153) 9 years ago
Ondra Machacek 77c3868670 Add ovirt_networks and ovirt_networks_facts modules (#3148) 9 years ago
Ondra Machacek 68e83bba91 Add ovirt_datacenters and ovirt_datacenters_facts modules (#3146) 9 years ago
Ondra Machacek c12b705df8 Add ovirt_clusters and ovirt_clusters_facts modules (#3138)
* Add ovirt_clusters and ovirt_clusters_facts modules

* Add return values examples

* Improve documentation

* Added all cluster parameters
9 years ago
Krzysztof Magosa c385c6746a kubernetes: handle situation when target host does not have yaml library (fixes #3301) (#3449) 9 years ago
Ondra Machacek 32c7f1eae7 Add new ovirt_mac_pools module (#3646)
This patch adds new module to manage oVirt MAC pools.
9 years ago
Constantin 4bdbbed49c Fix: convert owner_ids to a list of strings (#3488) 9 years ago
Ben Tomasik 163f16658e Add check mode support (#3522) 9 years ago
Tristan de Cacqueray 8a02b5d702 Use parameters in os_stack update (#3560)
This change makes os_stack module idempotent. Otherwise, re-use of the
module fails with:
Error updating stack: ERROR: The Parameter (...) was not provided.

Fixes #3165.
9 years ago
Fabio Alessandro Locati 7a2d1a4210 Make `main()` calls conditional - commands (#3655) 9 years ago
Fabio Alessandro Locati cefb569797 Make `main()` calls conditional - messaging (#3654) 9 years ago
Fabio Alessandro Locati 6f019c1066 Make `main()` calls conditional - web_infrastructure (#3653) 9 years ago
Fabio Alessandro Locati cbe3f4e5e1 Make `main()` calls conditional - system (#3652) 9 years ago
Fabio Alessandro Locati 45b31fa514 Make `main()` calls conditional - source_control (#3651) 9 years ago
Fabio Alessandro Locati 007abb5373 Make `main()` calls conditional - packaging (#3650) 9 years ago
Fabio Alessandro Locati 95be8b8276 Make `main()` calls conditional - network (#3649) 9 years ago
Fabio Alessandro Locati 9f7ad2ca3b Conditional main - monitoring (#3648) 9 years ago
Fabio Alessandro Locati e788ce068a Make `main()` calls conditional - clustering (#3647) 9 years ago
Fabio Alessandro Locati 96780cf035 Make `main()` calls conditional - notifications (#3656) 9 years ago
Fabio Alessandro Locati afa6fa9a89 Make `main()` calls conditional - cloud (#3657) 9 years ago
Fabio Alessandro Locati 11e3ec26ea Make `main()` calls conditional - files (#3658) 9 years ago
Fabio Alessandro Locati 06bf2e1e63 Make `main()` calls conditional - database (#3659) 9 years ago
Ondra Machacek 103e3341f5 ovirt_vms: Add support to specify template version (#3567) 9 years ago
René Moser 3c48b4a7a1 cloudstack: cs_ip_address: implement VPC support (#3403) 9 years ago
René Moser 93ebe0f7c1 cloudstack: cs_staticnat: implement VPC support (#3409) 9 years ago
Fabio Alessandro Locati 7d1a006629 Native YAML, improve quotation (#3643) 9 years ago
Fabio Alessandro Locati 8b31d48410 Native YAML - monitoring/sensu_check (#3635) 9 years ago
Fabio Alessandro Locati 3b5826b828 Native YAML - monitoring/datadog_event (#3637) 9 years ago
Fabio Alessandro Locati 616752c2e3 Correct indentation in examples - files/blockinfile.py (#3630)
* indentation in with_items section is out, correct that.
9 years ago
Matthew Krupcale a6f0a279a9 FreeIPA module polymorphic restructuring and small fixes. (#3485)
* Moved JSON-RPC client IPAClient class to ansible.module_utils.ipa, which is extended by all ipa modules
* ipa_user: incorporate displayname and userpassword attributes in module_user
* ipa_user: capitalized "I" in comment
* ipa_user: updated get_ssh_key_fingerprint to include possibility of the uploaded SSH key including user@hostname comment, which also appears in the queried fingerprint. This fixes a mismatch in the calculated and queried SSH key fingerprint in the user_diff calculation when the user already exists.
* ipa_hbacrule: ipaenabledflag must be 'TRUE' or 'FALSE', not 'NO'
* ipa_sudorule: ipaenabledflag must be 'TRUE' or 'FALSE', not 'NO'
* Add author to files missing it
9 years ago
Fabian von Feilitzsch 92a53a7182 Check values for vm_id and vm_names instead of keys (#3621) 9 years ago
Jon Hawkesworth 50deb312fe Fix documentation error on read message from file example. 9 years ago
Fabio Alessandro Locati 2ea57deb72 Native YAML - cloud/centurylink/clc_loadbalancer.py (#3632) 9 years ago
Fabio Alessandro Locati cc25f24475 Native YAML - system (#3625)
* Native YAML - system

* Remove comment that is not applicable to the code
9 years ago
Fabio Alessandro Locati 737c6afb54 Native YAML - database/misc/mongodb_user.py (#3631) 9 years ago
Fabio Alessandro Locati cd54cd973a Native YAML - cloud/amazon/lambda.py (#3628) 9 years ago
Fabio Alessandro Locati 723556fc98 Native YAML - notification leftovers (#3626) 9 years ago
Fabio Alessandro Locati 2f369dff88 Native YAML - cloud/misc (#3615)
* Native YAML - cloud/misc

* Fix mistake
9 years ago
Fabio Alessandro Locati 75f9cb30e1 Add quotes for non-floats decimals (#3609) 9 years ago
Fabio Alessandro Locati d9231d065e Native YAML - cloud/openstack (#3614) 9 years ago
Fabio Alessandro Locati fb2ddac407 Native YAML - database/postgresql/postgresql_ext (#3617) 9 years ago
Fabio Alessandro Locati c284125e66 Native YAML - cloud/serverless (#3618) 9 years ago
Fabio Alessandro Locati d11a5bd492 Native YAML - windows (#3602)
* Native YAML - windows

* Fix baskslash

* Sorry
9 years ago
Fabio Alessandro Locati 684045a316 Fix spacing (#3616) 9 years ago
Fabio Alessandro Locati 4561c75d1c Normalize YAML - Cloud/VMWare (#3612) 9 years ago
Fabio Alessandro Locati 1a7b9090df Native YAML - cloud/cloudstack (#3613) 9 years ago
Fabio Alessandro Locati 00eb0d27d9 Cloud lxc (#3611)
* Native YAML - cloud/lxc

* debug var uses naked vars
9 years ago
Fabio Alessandro Locati 1e9333f822 Cloud amazon and azure (#3610)
* Native YAML - cloud/amazon

* Native YAML - cloud/azure
9 years ago
Fabio Alessandro Locati 06a8f1d79b Use native YAML - Packaging (#3588)
* Fix kibana

* More native YAML

* More native YAML

* More native YAML

* More native YAML. Now only languages/ is missing

* Use native yaml sintax for packaging/languages as well

* Some more and quote fixes

* Fix wrong grouping
9 years ago
Fabio Alessandro Locati d344d7863a Native YAML - files (#3608) 9 years ago
Fabio Alessandro Locati 47442b7c22 Native YAML - databases/pgsql (#3606) 9 years ago
Fabio Alessandro Locati 51798cba0e Native YAML - Databases/mysql (#3605) 9 years ago
Fabio Alessandro Locati 13b970d04b Native YAML - Databases/MsSQL (#3604) 9 years ago
Fabio Alessandro Locati 7ac053576e Native YAML - Database/musc (#3603) 9 years ago
Fabio Alessandro Locati fb50f129ea Native YAML - remote_management (#3601) 9 years ago
Fabio Alessandro Locati 8a6df38cc5 Native YAML - messaging (#3599) 9 years ago
Fabio Alessandro Locati 5209969a7c Native YAML - Web infrastructure (#3594)
* Native YAML

* YAML for jira as well

* Native YAML for Jboss

* Fix missing spaces
9 years ago
Dag Wieers 367a0c5d99 Bugfix for newer policycoreutils-python (eg. RHEL7) (#3569)
The policycoreutils python API for RHEL6 and RHEL7 are sufficiently
different, requiring some additional definitions and specific conversion
that works on old and new implementations.

It also implements a fix for non-ascii error messages (like when using a
French locale configuration).

This fixes #3551.
9 years ago
Shinichi TAMURA 335a28443d timezone: Fix TypeError
closes #3337
9 years ago
Fabio Alessandro Locati 75563d5325 Native YAML - notifications (#3598) 9 years ago
Fabio Alessandro Locati 951b87492a Native YAML (#3596) 9 years ago
Fabio Alessandro Locati f4a4492992 bigpanda: Use delegate_to (over local_action) (#3586)
* Fix YAML, naed variables

* Fix spaces
9 years ago
Fabio Alessandro Locati f8f0893922 Native YAML (#3583) 9 years ago
Fabio Alessandro Locati cb1b8edfa9 Native YAML - Network (#3587)
* Fix citrix native yaml

* Fix snmp native yaml and connectio

* Fix more native syntax

* More native syntax

* Fix openvswitch native syntax

* More YAML code !

* More fixes

* Improve nmcli
9 years ago
Fabio Alessandro Locati d092d53198 Native YAML (#3584) 9 years ago
Fabio Alessandro Locati b6cf2e422d Native YAML + add comments (#3582) 9 years ago
Fabio Alessandro Locati c40bb574c6 Native YAML (#3581) 9 years ago
Fabio Alessandro Locati f85fd14242 Native YAML (#3580) 9 years ago
Fabio Alessandro Locati c2474b8a3f Native YAML (#3579) 9 years ago
Fabio Alessandro Locati 23cfa31a7b Native YAML (#3578) 9 years ago
John R Barker 1684792efa nagios - Better `comment:` example (#3595) 9 years ago
Fabio Alessandro Locati 45c55607f1 Native YAML (#3577) 9 years ago
Fabio Alessandro Locati 79e1e01e4c Native YAML (#3576) 9 years ago
Fabio Alessandro Locati 9a399d9945 Native YAML (#3575) 9 years ago
Fabio Alessandro Locati ccb9cb38d9 Native YAML (#3574) 9 years ago
Fabio Alessandro Locati 53448af053 Native YAML (#3573) 9 years ago
Fabio Alessandro Locati dfb6861a94 Native YAML (#3593) 9 years ago
Fabio Alessandro Locati 34a504ea10 Native YAML (#3585)
* Native YAML

* Fix YAML lists
9 years ago
dimid 0c320e1c17 Fix name/package parameter convert when passed list of values using with_items. (#3556) 9 years ago
René Moser c3c2427cbb cloudstack: new module cs_region (#3568) 9 years ago
Fabio Alessandro Locati aef588f3a3 Use native YAML (#3440)
* Use native YAML

* Add comment on quotes and column
9 years ago
Dorian Dietzel 1f32d68310 Added new option to select the active a10 partition (#2628)
* Added new option to select the active a10 partition

* added version_added to the description of the new option

* added RETURN documentation

* fixed indents

* Removed empty cases, removed unneeded aliases

* removed artifacts from merging

* updated version_added to 2.3

* removed host, username and password option

* removed write_config and validate_certs documentation
9 years ago
Aaron Chen fa4b353da8 elasticsearch-plugin: fix local variable 'name' referenced before assignment (#3431) 9 years ago
Toshio Kuratomi 82475637ef Remove iteritems from portage module for python3 9 years ago
William L. Thomson Jr e95641f371 Portage module improvements (#3520)
* packaging/os/portage.py: Added portage parameter --keep-going

* packaging/os/portage.py: Added portage parameter --load-avg [FLOAT]

* packaging/os/portage.py: Added portage parameter --jobs[=INT]

* packaging/os/portage.py: Added myself to Authors
9 years ago
Matt Clay 380ce0c3a7 Fix ast parse issue for python 2.6. 9 years ago
Jesse Keating f6e47e4055 Handle empty datadog_monitor message (#3468)
Since message is not required, it may be of type None, which cannot have
a replace() called on it.
9 years ago
John R Barker 7e6fe97f57 Update version_added, update docs (#3542)
k: v in docs now

Minor tweaks after https://github.com/ansible/ansible-modules-extras/pull/1883
9 years ago
Dorn- fb610b7d07 Add a new module to handle schema with postgres (#1883) 9 years ago
Eric Chou c570d533b9 add a10_server_axapi3 module (#3239)
* add a10_server_axapi3 module

* added return documentation

* modified a10_server_axapi3.py per feedback

* fixed line 60 s/action/operation/

* modified a10_server_axapi3.py per feedback

* modified a10_server_axapi3.py per feedback

* corrected YAML format error in documentation

* removed slp_server_ip and slp_server check in code since the arguments are labeled as required, per feedback

* 	modified:   a10_server.py
	modified:   a10_service_group.py
	modified:   a10_virtual_server.py

Changed main() block, restricted import to only functions used.

* removed space for main() to be last line

* removed invalid lines

* Modified Documentations for a10_server.py, a10_service_group.py, a10_virtual_server.py

* Take out alias:[] and choices:[] in Documentation from a10_service_group.py and a10_virtual_server.py since they are now the default

* deleted a10_server.py, a10_service_group.py, a10_virtual_server.py

* deleted 'version_last_modified' line in Documentation across a10_server.py, a10_service_group.py and a10_virtual_server.py as they were added in error, change validate_certs version_added in a10_server.py

* added newline after main()

* added newline after main() for a10_server_axapi3.py
9 years ago
Alexey Kostyuk d1304eb749 Add ipinfoio_facts module (#3497)
* Add ipinfoio_facts module

* Updated ipinfoio_facts module docs
9 years ago
Andrea Tartaglia a6c0227a8f py3 - ported ec2_vpc_route_table iterkeys to dict.keys() (#3503)
* ported ec2_vpc_route_table iterkeys to dict.keys() for py3

Addresses ansible/ansible#18507

* Removed '.keys()'
9 years ago
René Moser 5374c7cd09 cloudstack: cs_instance: implement vpc support (#3402)
* cloudstack: cs_instance: implement vpc support

* cloudstack: cs_instance: distinguish VPC and non VPC VMs
9 years ago
René Moser 46e1380532 cs_snapshot_policy: extend volume determination (#3500) 9 years ago
Saravanan K R b8a93bcfe1 Update the code fragment contents to have correct format (#3342) 9 years ago
René Moser 3b60cb3847 cloudstack: cs_snapshot_policy: ignore intervaltype in has_changed (#3499)
Fixes ValueError: invalid literal for int() with base 10: 'daily'
9 years ago
Ryan Brown 5940c705a3 Create `serverless` module for handling Serverless Framework deploys (#3352)
* Create `serverless` module for handling deploys on the Serverless Framework

* fix interpreter line

* Successfully exit when a stage is already absent
9 years ago
Jiri Tyr c7ae273f13 Making yum_repository module compatible with Python 3 (#3487) 9 years ago
Ondra Machacek 36f1ecc5be Add oVirt ovirt_hosts and ovirt_storage_hosts_facts modules (#3225) 9 years ago
Ondra Machacek b4716df3ef Add oVirt ovirt_host_networks modules (#3227) 9 years ago
Ondra Machacek 7da62366ed Add oVirt ovirt_host_pm module (#3253) 9 years ago
Berislav Lopac 7f351a46e5 replace iteritems with items to ensure python3 compatibility 9 years ago
Andy Dirnberger 3a26a1bfcc Make Homebrew-related modules run on Python 3
Both the `homebrew` and `homebrew_cask` modules iterate over
dictionaries using `iteritems`. This is a Python 2-specific method whose
behavior is similar to `items` in Python 3+. The `iteritems` function in
the six library was designed to make it possible to use the correct
method.
9 years ago
Michael Scherer 64c994c641 Make the 'make' module run on python 3
Traceback:

    Traceback (most recent call last):
      File \"/tmp/ansible_d28_6uwl/ansible_module_make.py\", line 153, in <module>
        main()
      File \"/tmp/ansible_d28_6uwl/ansible_module_make.py\", line 119, in main
        rc, out, err = run_command(base_command + ['--question'], module, check_rc=False)
      File \"/tmp/ansible_d28_6uwl/ansible_module_make.py\", line 79, in run_command
        return rc, sanitize_output(out), sanitize_output(err)
      File \"/tmp/ansible_d28_6uwl/ansible_module_make.py\", line 95, in sanitize_output
        return output.rstrip(b(\"\\r\\n\"))
    TypeError: rstrip arg must be None or str

There is also a six.iteritems issue, fixed using six.
9 years ago
Rene Moser 583944207d redshift: fix version added 9 years ago
Koki Nomura 8ccf166a56 blockinfile: Fixes #1926 by comparing a marker to a whole line instead of a line prefix (#3339) 9 years ago
Marius Gedminas cffd5601b6 letsencrypt: Locale-independent date parsing (#3314)
Should fix #3155.
9 years ago
Jiri Tyr 9453f6b97a yum_repository: Add diff support (#3460) 9 years ago
Jens Carl 90e0dc2a89 redshift: Fix error with boolean parameters (#3467) 9 years ago
Matthew Krupcale cb765ce590 gluster_volume: Fixes gluster peer probe / volume creation issue. (#3486)
* gluster_volume: Fixes issue when creating a new volume failing due to peers not being present. The peers which are not 'localhost' should invoke wait_for_peer, but the find method returns -1 (not 0) on non-localhost peers.
9 years ago
Dag Wieers c8a700834c Performance improvement using in-operator for hash lookups
Just a small cleanup for the existing occurrences.

Using the in-operator for hash lookups is faster than using .has_key()
http://stackoverflow.com/questions/1323410/has-key-or-in
9 years ago
Dag Wieers a417a4f4b3 Performance improvement using in-operator on dicts
Just a small cleanup for the existing occurrences.

Using the in-operator for hash lookups is faster than using .keys()
http://stackoverflow.com/questions/29314269/why-do-key-in-dict-and-key-in-dict-keys-have-the-same-output
9 years ago
Nijin Ashok b06003e5d2 Fix issue in adding RAW disk in block storage domain (#3432)
By default, sparse option is true in ovirt. So the raw disk
    creation in a block storage domain will fail with error "Disk
    configuration (RAW Sparse) is incompatible with the storage domain
    type".

    The commit adds sparse option where it is send as False when
    format is raw and True when format is qcow2
9 years ago
Maarten Bezemer dd51ec94e7 mongodb_user: Allow pymongo version 3.2 in combination with mongodb 3.2 (#3474) 9 years ago
René Moser ae9bc0cded cloudtack: cs_instance: doc fix for missing tag alias (#3484) 9 years ago
René Moser a0c8b598ff cloudstack: fix state=absent, ip_address not None but falsy (#3483) 9 years ago
Abdoul Bah 318a06f6d6 New module proxmox_kvm (#3292)
* New module proxmox_kvm

* fixed qxl value vor vga param

> | Name | Type | Format | Description |
> |------|------|--------|-------------|
> | vga | enum | std \| cirrus \| vmware \| qxl \| serial0 \| serial1 \| serial2 \| serial3 \| qxl2 \| qxl3 \| qxl4 | Select the VGA type. If you want to use high resolution modes (>= 1280x1024x16) then you should use the options 'std' or 'vmware'. Default is 'std' for win8/win7/w2k8, and 'cirrus' for other OS types. The 'qxl' option enables the SPICE display sever. For win* OS you can select how many independent displays you want, Linux guests can add displays them self. You can also run without any graphic card, using a serial device as terminal. |

* Fix create_vm() fail on PV 4.3

* Set default for force as null in doc

* proxmox_kvm: revision fixes

* proxmox_kvm: more revision fixes

* Fix indentation

* revision fixes

* Ensure PEP-3110: Catching Exceptions

* KeyError, to KeyError as -- PEP-3110: Catching Exceptions

* Fix Yaml document syntax; Notes: => Notes -

* Refix documentation issue

* Fix Documentation

* Remove Notes: in description

* Add current state and it return value

* Update documentation

* fixed local variable 'results' referenced before assignment

* Fix fixed local variable 'results' referenced before assignment

* minor fixes in error messages

* merge upstream/devel int devel

* minor fixes in error messages

* Fix indentation and documentation

* Update validate_certs description
9 years ago
Brian Haggard 84e79770b3 Required and default are mutually exclusive (#3475) 9 years ago
René Moser 72eb8c7be9 ipify_facts: implement timeout (#3369) 9 years ago
jctanner d2bb9c1298 vmware_guest: Fix the esxi_hostname docstring to match the arg dict's required= (#3479)
Fixes #3476
9 years ago
Davis Phillips c2dcf62aee removed tabs and fixed formatting 9 years ago
Davis Phillips 24e8428a7b mend 9 years ago
Davis Phillips e51f6c18eb added vDS support for config spec and note/annotation support 9 years ago
Toshio Kuratomi 4d3fec908b Remove need for translate/maketrans due to py3 differences
* translate() has a different api for text vs byte strings
* maketrans must be imported from a different location on py2 vs py3

Since this is such a small string outside of a loop we don't have to
worry too much about speed so it's better to have a single piece of code
that works on both py2 and py3
9 years ago
Abdul-Anshad-A c2f4e7c852 Initial effort for pyVmomi snapshot ops
Make description optional during snapshot create
9 years ago
Davis Phillips ce7c7b6804 Removed list value from description in dns_servers 9 years ago
Davis Phillips bb017c4af8 updated version_added to 2.3 9 years ago
Davis Phillips ae9aa2390f Added version_added to all the new params 9 years ago
Davis Phillips ebdd9cf1a5 remove commented code and fixed formatting 9 years ago
Davis Phillips 995cc2cd2d closes 3305 adds customize support 9 years ago
Rene Moser e1d79f341e cloudstack: new module cs_vpc 9 years ago
René Moser 8873263894 cloudstack: add new module cs_nic (#3392) 9 years ago
Fabio Alessandro Locati 9a1b5b5e18 Use native YAML (#3435) 9 years ago
Tristan Bessoussa f68a45ca9a Fixed wrong variable name in the let's encrypt doc (#3398)
It could lead to unwanted error when dummy-paste to try this module.
9 years ago
James Hart 276c3410a5 consul: Pass through service_id if specified on a check (#3295)
Fixes #3249
The python-consul library already supports this, so it is just a simple
case of enablement.
This does not break the current logic in `add` of parsing as a check,
then parsing as a service if that fails… because service_name is
mandatory on a service registration and is invalid on a check
registration.
9 years ago
Fabio Alessandro Locati 39f4e17838 Improve yaml code and add an if to make the import more standard (#3424) 9 years ago
Fabio Alessandro Locati 7af000bdb1 Use native YAML (#3436) 9 years ago
Fabio Alessandro Locati 1e00adefd5 Use native YAML in the examples (#3441) 9 years ago
Matthieu Dolci 8822021132 ec2_customer_gateway: state present expect bgp_arn instead of bgp_asn (#3366) 9 years ago
Fabio Alessandro Locati 69fa44b6d1 Use native YAML (#3437) 9 years ago
Fabio Alessandro Locati 616c86529f Use native YAML (#3438) 9 years ago
Fabio Alessandro Locati be834293ed Use native YAML (#3439) 9 years ago
Fabio Alessandro Locati 0a338a11c2 Normalize yaml example (#3426) 9 years ago
Fabio Alessandro Locati df6200accc Normalize yaml example (#3425) 9 years ago
Fabio Alessandro Locati 07d96b62b5 Use native YAML (#3434) 9 years ago
Fabio Alessandro Locati 47297bb19c Use native YAML (#3433) 9 years ago