Commit Graph

27575 Commits (6ffd494efb146714fc4b297706ade5823118a6b1)
 

Author SHA1 Message Date
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.
8 years ago
Shinichi TAMURA 335a28443d timezone: Fix TypeError
closes #3337
8 years ago
Fabio Alessandro Locati 75563d5325 Native YAML - notifications (#3598) 8 years ago
Fabio Alessandro Locati 951b87492a Native YAML (#3596) 8 years ago
Fabio Alessandro Locati f4a4492992 bigpanda: Use delegate_to (over local_action) (#3586)
* Fix YAML, naed variables

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

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

* Add comment on quotes and column
8 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
8 years ago
Aaron Chen fa4b353da8 elasticsearch-plugin: fix local variable 'name' referenced before assignment (#3431) 8 years ago
Toshio Kuratomi 82475637ef Remove iteritems from portage module for python3 8 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
8 years ago
Matt Clay 380ce0c3a7 Fix ast parse issue for python 2.6. 8 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.
8 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
8 years ago
Dorn- fb610b7d07 Add a new module to handle schema with postgres (#1883) 8 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
8 years ago
Alexey Kostyuk d1304eb749 Add ipinfoio_facts module (#3497)
* Add ipinfoio_facts module

* Updated ipinfoio_facts module docs
8 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()'
8 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
8 years ago
René Moser 46e1380532 cs_snapshot_policy: extend volume determination (#3500) 8 years ago
Saravanan K R b8a93bcfe1 Update the code fragment contents to have correct format (#3342) 8 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'
8 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
8 years ago
Jiri Tyr c7ae273f13 Making yum_repository module compatible with Python 3 (#3487) 8 years ago
Ondra Machacek 36f1ecc5be Add oVirt ovirt_hosts and ovirt_storage_hosts_facts modules (#3225) 8 years ago
Ondra Machacek b4716df3ef Add oVirt ovirt_host_networks modules (#3227) 8 years ago
Ondra Machacek 7da62366ed Add oVirt ovirt_host_pm module (#3253) 8 years ago
Berislav Lopac 7f351a46e5 replace iteritems with items to ensure python3 compatibility 8 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.
8 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.
8 years ago
Rene Moser 583944207d redshift: fix version added 8 years ago
Koki Nomura 8ccf166a56 blockinfile: Fixes #1926 by comparing a marker to a whole line instead of a line prefix (#3339) 8 years ago
Marius Gedminas cffd5601b6 letsencrypt: Locale-independent date parsing (#3314)
Should fix #3155.
8 years ago