Commit Graph

27615 Commits (a8d5358d7fb3d0d732d17c67f96e4681a50e8c8c)
 

Author SHA1 Message Date
Brian Haggard 84e79770b3 Required and default are mutually exclusive (#3475) 8 years ago
René Moser 72eb8c7be9 ipify_facts: implement timeout (#3369) 8 years ago
jctanner d2bb9c1298 vmware_guest: Fix the esxi_hostname docstring to match the arg dict's required= (#3479)
Fixes #3476
8 years ago
Davis Phillips c2dcf62aee removed tabs and fixed formatting 8 years ago
Davis Phillips 24e8428a7b mend 8 years ago
Davis Phillips e51f6c18eb added vDS support for config spec and note/annotation support 8 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
8 years ago
Abdul-Anshad-A c2f4e7c852 Initial effort for pyVmomi snapshot ops
Make description optional during snapshot create
8 years ago
Davis Phillips ce7c7b6804 Removed list value from description in dns_servers 8 years ago
Davis Phillips bb017c4af8 updated version_added to 2.3 8 years ago
Davis Phillips ae9aa2390f Added version_added to all the new params 8 years ago
Davis Phillips ebdd9cf1a5 remove commented code and fixed formatting 8 years ago
Davis Phillips 995cc2cd2d closes 3305 adds customize support 8 years ago
Rene Moser e1d79f341e cloudstack: new module cs_vpc 8 years ago
René Moser 8873263894 cloudstack: add new module cs_nic (#3392) 8 years ago
Fabio Alessandro Locati 9a1b5b5e18 Use native YAML (#3435) 8 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.
8 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.
8 years ago
Fabio Alessandro Locati 39f4e17838 Improve yaml code and add an if to make the import more standard (#3424) 8 years ago
Fabio Alessandro Locati 7af000bdb1 Use native YAML (#3436) 8 years ago
Fabio Alessandro Locati 1e00adefd5 Use native YAML in the examples (#3441) 8 years ago
Matthieu Dolci 8822021132 ec2_customer_gateway: state present expect bgp_arn instead of bgp_asn (#3366) 8 years ago
Fabio Alessandro Locati 69fa44b6d1 Use native YAML (#3437) 8 years ago
Fabio Alessandro Locati 616c86529f Use native YAML (#3438) 8 years ago
Fabio Alessandro Locati be834293ed Use native YAML (#3439) 8 years ago
Fabio Alessandro Locati 0a338a11c2 Normalize yaml example (#3426) 8 years ago
Fabio Alessandro Locati df6200accc Normalize yaml example (#3425) 8 years ago
Fabio Alessandro Locati 07d96b62b5 Use native YAML (#3434) 8 years ago
Fabio Alessandro Locati 47297bb19c Use native YAML (#3433) 8 years ago
mattwwarren 727e533bfc ec2_elb_facts: fix errors with no names input (#3381)
* None being passed around results in a Bad Time (tm)

* need to return the full set of elbs for an empty list

* logic is hard
8 years ago
Jose Armesto 14fee8d5f7 ec2_lc_find: Set default value for AssociatePublicIpAddress, since is missing when is false (#3417) 8 years ago
Thomas Krahn 9814136d3e Ipa bugfixes (#3421)
* ipa_group: Fix: 'list' object has no attribute 'get'

* ipa_hbacrule: Fix: 'list' object has no attribute 'get'

* ipa_host: Fix: 'list' object has no attribute 'get'

* ipa_hostgroup: Fix: 'list' object has no attribute 'get'

* ipa_role: Fix: 'list' object has no attribute 'get'

* ipa_sudocmd: Fix: 'list' object has no attribute 'get'

* ipa_sudocmdgroup: Fix: 'list' object has no attribute 'get'

* ipa_sudorule: Fix: 'list' object has no attribute 'get'

* ipa_user: Fix: 'list' object has no attribute 'get'

* ipa_sudorule: Fix: invalid 'cn': Only one value is allowed

* ipa_hostgroup: module returns changed if assigned hosts or hostgroups are not in lowercase
8 years ago
Jason Ritchie 0f6aa07d88 Detect and correct PowerShell mishandling nssm Unicode output as UTF8 (#2867)
* extra detail on which step triggered 'change', detect and handle powershell mishandling nssm's unicode as utf8

* Simpler handling of nssm output encoding

Thanks @nitzmahone for a cleaner way to control PowerShell's behavior
8 years ago
Henrique Rodrigues 54c5ebf697 New ec2_group_facts module to be able to get facts from EC2 security groups (#2591)
Add `ec2_group_facts` module to gather facts from EC2 security groups
8 years ago
Andrew Gaffney a8d80f7165 Fix bare variable references in docs 8 years ago
Krzysztof Magosa c6b08ca623 tempfile: simple module creating temporary files/directories in OS-independent manner (#2991) 8 years ago
René Moser de3aea7c36 cloudstack: cs_ip_address: fix returns on state=present (#3406)
In case poll_job=false the return must be None
8 years ago
René Moser 0324d7a681 new module nginx_status_facts (#3286)
* new module nginx_status_facts

* nginx_status_facts: remove requirement

* nginx_status_facts: implement timeout param

* nginx_status_facts: update example docs
8 years ago
jctanner 46174588ca Refactor usage of type() (#3412)
Addresses https://github.com/ansible/ansible/issues/18440
8 years ago
Jeremy Olexa e44362b6f8 consul_kv, consul_acl: fix missing types bool (#3327)
* Specify bool in consul_kv: validate_certs param
* Specify bool in consul_acl: validate_certs param
* Specify bool in consul_kv: retrieve param
8 years ago
Christophe Biocca 55130b960b haproxy: Fix compatibility when map is actually imap. (#3350)
While I still have no idea why or how the `map` call is being swapped out while still running in python 2.7, this change will fix the following error, as well as improve py3 compatibility.
8 years ago
jctanner b3795322e9 More isinstance fixes (#3405)
* More isinstance fixes
* Use double types
8 years ago
Thomas Krahn 32fef233f2 Add FreeIPA modules (#3247)
* Add FreeIPA modules

* Update version_added from 2.2 to 2.3

* ipa_*: Use Python 2.4 syntax to concatenate strings

* ipa_*: Replace 'except Exception as e' with 'e = get_exception()'

* ipa_*: import simplejson if json can't be imported

* ipa_hbacrule: Fix: 'SyntaxError' on Python 2.4

* ipa_sudorule: Fix: 'SyntaxError' on Python 2.4

* ipa_*: Fix 'SyntaxError' on Python 2.4

* ipa_*: Import get_exception from ansible.module_utils.pycompat24

* Add FreeIPA modules

* Update version_added from 2.2 to 2.3

* ipa_*: Fix 'SyntaxError' on Python 2.4

* ipa_*: Replace Python requests by ansible.module_utils.url

* ipa_*: Replace Python requests by ansible.module_utils.url

* ipa_*: Add option validate_certs

* ipa_*: Remove requests from Ansible module documentation requirements

* ipa_sudorule: Remove unnecessary empty line

* ipa_sudorule: Remove markdown code from example

* ipa_group: Add choices of state option

* ipa_host: Rename options nshostlocation to ns_host_location, nshardwareplatform to ns_hardware_platform, nsosversion to ns_os_version, macaddress to mac_address and usercertificate to user_certificate and add aliases to be backward compatible
8 years ago
Kei Nohguchi cc95bc4935 openvswitch_bridge: Check VLAN ID only under fake bridge (#3374) 8 years ago
jctanner 6cfb44b4bb replace type() with isinstance() (#3404)
Replace use of type() with isinstance()

Addresses https://github.com/ansible/ansible/issues/18310
8 years ago
Michael Scherer 81286b8912 Fix chdir argument to be 'path' 8 years ago
René Moser e1c0d2dd09 cloudstack: cs_network: cleanup dublicate VPC code (#3393)
Code has been moved to module utils, also see fe05c5e35a
8 years ago
Rene Moser e93bdb80d3 cloudstack: fix VPC doc 8 years ago
Jens Carl a79386f2f5 Add support for current Redshift node types (#3328) 8 years ago
Steve Gargan 687aaa197b consul_kv: remove default token (#3373)
changes default token from "anonymous" to None. Fixes #792
8 years ago