Commit Graph

13912 Commits (276c3410a5d3d8e401e77c8c018004d9e8786d07)

Author SHA1 Message Date
Patrik Lundin 896dec44a6 openbsd_pkg: Use correct part of name in match. (#3151)
* openbsd_pkg: Use correct part of name in match.

Previously this part of the code could assume that the name was a stem
with nothing else attached (like "autoconf"). With the introduction of the
branch syntax ("autoconf%2.13") this is no longer true.

Check if the package name was identified as using a "branch" style name,
and base the match on the leading part of the name if that is the case.

While here remove unnecessary "pass" and tidy up debug log message.

Problem reported by @jasperla.

* openbsd_pkg: Add missing "." in comment.
8 years ago
Ryan Currah 00adb6e5d4 Fix mongodb_user.py version detection logic (#3162)
Fix mongodb_user.py version detection logic for mongo srv 2.6 and mongo driver 2.7. The wrong variable was used for detecting the mongo driver version. This fix resolves the error "(Note: you must use pymongo 2.7+ with MongoDB 2.6.. 2.6.11)" no matter what version of pymongo you had installed for mongodb 2.6.
8 years ago
Ryan Brown bbe8e1f53b Fix `archive` truncating archived file names based on prefix length (#3124)
When archiving multiple files, the full length of the calculated
`arcroot` would be removed from the beginning of all file names. If
there was no arcroot, the first two characters of all files would be
removed, so `file.txt` would become `le.txt`.

This patch uses the regular expressions substitution anchored to the
start of the string, so the arcroot is only removed if it is actually
present.
8 years ago
Ryan Brown 25da992785 Fix failure to apply bucket policy when creating a bucket from scratch (#3091) 8 years ago
Michael Scherer 9aec480f59 Make irc.py compile on python3 8 years ago
Michael Scherer 1f406d4530 Port virt to python3 (#3167) 8 years ago
Michael Scherer 9be3e67e21 Make sure that the token is not printed in log (#3115) 8 years ago
Michael Scherer 138aaa4ff3 Fix crypttab (#3121)
* Fix error in crypttab doc

* Use path type for file argument

This permit to make sure that $HOME and '~' are properly
expanded, even if in the case of crypttab, this might not make
a lot of sense
8 years ago
Ivan Bojer 3c06e2585a PanOS module for admin password change using PanOS API as the transport (#2930)
* PanOS module that allows admin password change.

* fixed a typo

* empty __init__.py

* added require ansible Python extension .py

* added version string

* added return docstring

* changed version to 2.2

* - changes to the format and module as requested by @privateip

* changed version back to 2.2 as 2.3 was failing automated tests

* Revert "changed version back to 2.2 as 2.3 was failing automated tests"

reverting version info

This reverts commit 71d520f3b4b69eb017c2b9f287a74cb77fae9d1c.
8 years ago
Toshio Kuratomi badce91e80 Fix a couple undefined variables
One was a typo and one needed to have the variable defined in that scope
8 years ago
Tim Rupp 79895061b4 Fixes broken documentation in two modules (#3150)
The modules listed in this PR were using YAML that resulted in
blockquote tages being inserted into the generated RestructedText.

This PR fixes that so that the documentation once again looks correct
8 years ago
Aleksey Gavrilov 951f1d280c proxmox add exaples static ip (#3092) 8 years ago
Michael Scherer b52d0f65d6 Fix wrong variable name 8 years ago
Michael Scherer 6769bbf1a6 Do not leak the solaris root password in the log 8 years ago
afunix 60d84aca07 gluster_volume adds replica and stripe arguments when adding bricks [#2754] (#2812) 8 years ago
Michael Scherer 343134bd0f Do not leak the channel token in log (#3117) 8 years ago
Michael Scherer c50ac02b30 Add verification for the arguments of opendj_backendprop (#3116) 8 years ago
Eric D Helms f4d83486a9 New module: Manage Foreman and Katello entities (#2450) 8 years ago
Michael Scherer 9ba5218631 Do not leak the newrelic token in log (#3118) 8 years ago
Michael Scherer b03e95418e Do not leak the password of gitlab_user in log (#3122) 8 years ago
Ryan S. Brown 001cf5cfc5 `lambda` correct documentation of return output
The returns are actually nested under `configuration` keys, so the docs
need to reflect that. Also add the automatic return of the function
version, so it can be used to feed the `lambda_alias` module.
8 years ago
Ryan S. Brown b7ca9d6567 `lambda` Support using the role name
Instead of needing the full role ARN, allow users to specify a role name
as long as the role exists in the same account.
8 years ago
Adam Miller 3ac2a498ae add offline mode to firewalld
Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>
8 years ago
Peter Sprygada 00cc7c03fa Revert "update mask_passwords argument to be more descriptive in asa_config (#3109)" (#3110)
This reverts commit 271e300745.
8 years ago
Peter Sprygada 1b6a424375 update mask_passwords argument to be more descriptive in asa_config (#3109)
This changes the passwords argument to mask_passwords to make the
argument more descriptive of its intended function
8 years ago
René Moser 9518290454 cloudstack: cs_portforward: fix rule not found if domain is not account's domain. (#3093)
cs_portforward will not find the rule and tries to create it resulting in an API error.

Thanks to @mostkopf for reporting.
8 years ago
Peter Sprygada d698a9b5f7 fixes asa_config to allow config to include passwords, defaults or none (#3102)
The fix allows the asa_config module to request the config to contain
all default statements or password information necessary for vpn
tunnel endpoints
8 years ago
Peter Sprygada 817881d64f fixes problem where wrong ACL could be selected (#3099)
This fixes a bug where the wrong acl name could be matched in the running
config if the desired acl name is a starting subset.
8 years ago
Tim Rupp 6f0477a780 Fixes the enabled_vlans argument (#3061)
This argument had a couple of issues with it. First, as it was
being interpreted in the code, it did not check for idempotency.

Second, the model of having the parameters be "all_*" is going to
hinder the ability to "undo", so-to-speak, what the user did while
maintaining legibility.

Consider if the user specified "all_enabled_vlans='net1'" and then
decided they wanted to backout of this decision. What is the proper
argument to fulfill this wish? "all_enabled_vlans='...?'

This patch changes the all_enabled_vlans argument to be "enabled_vlans",
ensures that idempotency works, and also provides for a way to "undo" a
change to the enabled VLANs by allowing the user to specify the special
case VLAN named "ALL" (all capitals).

This makes the parameter more intuitive because the users will specify
which vlans they want to make the virtual available on

  * enabled_vlans="net1"

but also allows them to "undo" what they did by setting it back with
the case of all

  * enabled_vlans="ALL"
8 years ago
Tim Rupp 223d5cc7ee Adds copyright line for F5 contributed modules (#3081)
I was asked to do this as part of the contribution effort in house
8 years ago
Tim Rupp de08965ab3 Corrects the required SDK version (#3095)
The SDK version that was mentioned originally was incorrect
8 years ago
Pieter Hollants c2992fbb81 zypper_repository: Prepend --gpg-auto-import-keys before refresh command (#3088)
Fixes #3086.
8 years ago
Robin Roth 48ee364950 Add documention for enabled option in zypper_repository (#3083) 8 years ago
René Moser d2eeabf129 slack: fix handling of html entities and escaping (#3032)
for < > & ' and "
8 years ago
Jonathan Mainguy d4b94ec6bb fix timezone for centos6 (#3078) 8 years ago
John R Barker 66eaa464ee Typos in doc's strings (#3071) 8 years ago
Toshio Kuratomi d52fc0f8a6 Update shippable config (#3063) 8 years ago
THEBAULT Julien bfb1ad6690 Fix mongodb user compatibility check (#2731)
- Check the compatibility asap
8 years ago
Bryan Hundven 50092ed629 Fix the comment in the example. (#3050)
Fix the typo: `Crate` -> `Create`. Make a complete sentence.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
8 years ago
Ryan Brown cdd874e61d Fix owner on gce_img 8 years ago
Rob 20cfe15e56 If parameters for policy, tags or versioning are not supplied, do not change the existing values defined for the bucket (#2938) 8 years ago
John R Barker 3a3612f57b asa_template is now deprecated (#2992)
* asa_template is now deprecated

* Delete asa_template

Since asa_template was added during 2.2 development, rather than
deprecate them
8 years ago
John R Barker 94bd3a70e5 Correct typos (#3055) 8 years ago
Ondra Machacek 7f51ec8bab ovirt_vms: wait for VM to be created for states stopped/suspended (#3044) 8 years ago
Thierno IB. BARRY c0cfd1db45 elasticsearch_plugin: rewrite module to not use unsupported parameters (#2839)
* elasticsearch_plugin: rewrite module to not use unsupported parameters (#1785)

Avoid using parameters when they are not needed (#1785)

* elasticsearch_plugin: add version only during plugin installation and parse plugin name for its removal

* elasticsearch_plugin: join command args before running it
8 years ago
Tim Rupp 781dd9c459 Distinguish between untagged and tagged vlans
We were incorrectly making VLANS always be untagged when they could
be either tagged or untagged. This change corrects the arguments to
the vlan module to allow for specifying either untagged or tagged
interfaces. The arguments are mutually exclusive
8 years ago
Michael Scherer 9ec65db778 Use 'path' type for file arguments 8 years ago
Michael Scherer c8bfab9c08 Add missing deps, since we use openssl to verify the date 8 years ago
Ryan Saunders b48e1e9b65 Fix documentation typos and broken URL (#3039) 8 years ago
René Moser 91277fc0c7 twilio: fix false negative failure - sms was sent successfully (#3033) 8 years ago
Lujeni e226211c5b Fix mongodb_user ssl_cert_reqs param (#2963) (#2965) 8 years ago
Michael Scherer ead83cd148 Fix error in description of acme_directory (#3034) 8 years ago
Matt Clay 10ac3ba617 Revert "Set PRIVILEGED=true for Linux integration tests. (#3031)"
This reverts commit 7df7b52a5e.
8 years ago
steve-dave 587636b525 ec2_win_password.py - handle missing or unparseable key file more intuitively (#2729) 8 years ago
shane-walker f108f8ef72 Fixes #1375, will check for new and outdated packages when running. (#3020) 8 years ago
Matt Clay eedca027ee Set PRIVILEGED=true for Linux integration tests. (#3031)
This should allow test_mount tests to run on Shippable.
8 years ago
Matt Clay 841ec9ef1b Fix handling of ansible-doc errors. (#3030) 8 years ago
Lujeni 477d174fbc Fix mongodb_user default role value when update_password is set (#2997) 8 years ago
jctanner 981d1d3f96 vmware_guest: set the cpu and memory settings on clone (#3027)
Fixes #3026
8 years ago
Ryan S. Brown bdec3a7cbb Fix ec2_asg_facts when `name` parameter is None
Closes #3021
8 years ago
Tim Rupp 15df1c84ad Fixes the bigip_selfip module to respect traffic groups (#3009)
The code for traffic groups was not being tested and therefore
had errors associated with it. It is now covered in coverage tests
and bugs that were found in it have been fixed.

See this issue for details
https://github.com/F5Networks/f5-ansible/issues/28
8 years ago
nitzmahone 4ff086c1a8 Fix win_chocolatey version comparison
fixes #2995
8 years ago
Matt Clay b2b3d99839 Add shellcheck to sanity checks. (#3013)
Also disable deprecation warnings during module validation.
8 years ago
Tim Rupp 5abc8a1927 Corrects an implied map() usage as list (#3010)
In the six package, the map() function returns an iterator instead
of a list. This code was continuing to use the map() return value
as if it were a list and this broke the address_class facts.

This patch changes the code to use the list() method on the return
value of map().
8 years ago
Tom Melendez fd92b66332 Change 'values' to 'record_data' for gcdns module. (#3003)
Using values caused problems while creating an integration playbook as it is a reserved word.  Seeing as this module is not yet released, it's prudent to make this change now.  'record_data' is more descriptive and uses the _data convention that we've established for instances.

No functionality in the module has changed.
8 years ago
Ondra Machacek e7afabf060 Fix example in ovirt_auth module (#3001)
This patch fix missing quotes in ovirt_auth revoke token example
8 years ago
Robin Roth a9cd8abb75 List python-xml in requirements for zypper* (#2937) 8 years ago
René Moser 59e6203a17 composer: update docs about issues on macOS if installed by homebrew (#2987) 8 years ago
Ondra Machacek 999a6488cf Ovirt auth/vms/disks modules (#2836)
* Add oVirt module to manage VMs

This patch add oVirt module to manage Virtual Machines

* Add oVirt module to manage authentication

This patch add oVirt module to manage authentication

* Add oVirt module to manage disks

* Added VM state management and fixups
8 years ago
perbly ec05027c7e added enabled vlan functionality for f5 vip (#2988)
* added vlan functionality for f5 vip

* line 91, : was missing after description
8 years ago
Matt Clay 2152291960 Remove script previously used by Travis. 8 years ago
Lujeni aa6aedf26c Improve mongodb_user exception (#2962)
- Better error message
8 years ago
Matt Clay 46d0b4dc16 Test module docs on Shippable. (#2976) 8 years ago
Matt Clay 5d78239f07 Combined notes to avoid duplicate key warning. (#2980) 8 years ago
Rob e07c71dd99 Modification of describe_gateways key so that it is consistent with w… (#2936)
* Modification of describe_gateways key so that it is consistent with what create_gateway returns.
Also added AnsibleModule spec to require bgp_ip on state=present as defined in the doc

* Don't remove CustomerGateways key to preserve backward compatibility
8 years ago
jctanner 4cb3e87ca4 vmware_guest: do not assume disk params contain a datastore (#2974)
* vmware_guest: do not assume disk params contain a datastore
* Fix missed line during connection refactor
8 years ago
Matt Clay f3e2f5d002 Remove Travis config since we only use Shippable. (#2975) 8 years ago
Matt Clay a88dae905d Enable python 3 sanity tests for more modules. (#2973) 8 years ago
Michael Scherer 5f0017d99d Remove duplicate key from the doc (#2970) 8 years ago
Michael Scherer 6b5b90c4b8 Merge duplicated notes, fix warning returned by ansible-doc (#2969) 8 years ago
Adrian Likins f4943bcf4c Fix 'netapp_e_lun_mapping ... documentation error' (#2966)
The 'short_description' in netapp_e_lun_mapping was a
list instead of txt.

This fixes errors on 'ansible-doc -l' of form:

        ERROR! module netapp_e_lun_mapping has a documentation
        error formatting or is missing documentation

Fixes: #17634 (ansible/ansible)
8 years ago
Adrian Likins 50dcce185f Remove redundant doc keys for netapp_e_ modules (#2968)
Fixes #2967
8 years ago
jctanner 10e50652b2 vmware_guest: small refactor (#2955)
* use connecion method from module_utils
* use resource group related to host system

Addresses #2911
8 years ago
Michael Scherer 1702937ab3 Do not import xenapi without checking, so we can avoid (#1953)
backtrace
8 years ago
Michael Scherer 6967a32ce4 Fix the mysql_replication argument (#2111)
Login_password and master_password are password, should not
be logged. And config_file is a path t be expanded, so tagged as
such.
8 years ago
Hans-Joachim Kliemeck 443dba148c Fix mongodb user idempotence with 2.4 version (#2725) (#2920) 8 years ago
Alexandre Garnier f06e2e7a0b Fix mixed type comparison resulting in wrong `changed` (#2772)
When using `use_max` or `use_min` in `pam_limits`, the new value is an integer compared with the actual_value which is a string, so they are always different and the module reports a changed but none occurred.
8 years ago
Matt Clay 839adc208f Update CI badge. 8 years ago
Matt Clay d1ba765ba0 Cosmetic fix to test PR and merge hooks. (#2949) 8 years ago
Matt Clay 3e86ad1a3a Run same tests on Shippable as on Travis. (#2948)
Run the same tests as used on Travis.
8 years ago
Ryan S. Brown dc6fd4ee8a Add lambda_event module 8 years ago
Ryan Sydnor 3c6ae0063b Add Amazon Elastic File System Facts (efs_facts) module
Also switch EFS module to using boto3_conn from boto3.Session
8 years ago
Ryan Sydnor dfec3d3c4c Add Amazon Elastic File System (efs) module 8 years ago
Ryan Brown d92c3c6fa8 Import Lambda alias module from https://github.com/pjodouin/ansible-lambda (#2829) 8 years ago
Ryan S. Brown ce72e52c50 Fix redshift module Python 3.5 syntax 8 years ago
Ryan Brown 559093f1a3 Fix exception syntax for Python 3.x (#2940)
since boto already precludes python2.4, no need to use a common 2.4/3 syntax
8 years ago
Steyn Huizinga 4240d2a511 Add AWS Lambda module (#1270) 8 years ago
Jim Dalton cee898f73a Add module for managing CloudWatch Event rules and targets (#2101) 8 years ago
Jens Carl 9f2b1abbc3 New ansible module for aws Redshift and Redshift subnet group (#185) 8 years ago
Adrian Likins 68823a4e2d Add modules for NetApp SANtricity storage platform (#2929)
The modules prefixed with netapp_e* are built to support the
SANtricity storage platform.

The modules provide idempotent provisioning for volume groups, disk
pools, standard volumes, thin volumes, LUN mapping, hosts, host groups
(clusters), volume snapshots, consistency groups, and asynchronous
mirroring.

They require the SANtricity WebServices Proxy.
The WebServices Proxy is free software available at
the NetApp Software Download site:

   http://mysupport.netapp.com/NOW/download/software/eseries_webservices/1.40.X000.0009/

Starting with the E2800 platform (11.30 OS), the modules will work
directly with the storage array.  Starting with this platform, REST API
requests are handled directly on the box.  This array can still be
managed by proxy for large scale deployments.
8 years ago
jctanner 3dedecd81e vmware_guest improve and fix some of the errors (#2926)
* Add more comments and fix issue with unit conversion
8 years ago
Marcin Kawa dde76066d3 Fix undefined info error and accept HTTP 201 response code (#2643)
Prevent referenced before assignment error when `notify` argument is not specified and accept HTTP 201 (created) code.
8 years ago
jctanner d9b5d9e551 vmware_guest: use the disk argument to modify disk size and type (#2918)
Fixes #2706
8 years ago
Rene Moser bbf60e36eb zabbix_host: fix typos in arg spec of login_user
Credits to @JasonCormie
8 years ago
Ryan Brown dae2daf692 New module: `lambda_facts` (#2874) 8 years ago
David Stygstra 3539238ec7 Use `modprobe -r` instead of `rmmod` in modprobe module (#2669)
If any modules that the module being removed depends on are unused, they
will also be removed. Fixes #2140.
8 years ago
Michael Grüner 3dd0752746 letsencrypt: Improve error handling (#2868)
* letsencrypt: improve error handling

Use the new "body" field of the info dict in case of a HTTPError.

* letsencrypt: HTTP 202 is a valid status while polling
8 years ago
Steve Gargan b57b74e40b remove duration from lock delay as seconds are the only granularity supported. (#2877)
add utf header to file so that it loads correctly
8 years ago
René Moser c203283889 jenkins_job fix: NameError: global name 'module' is not defined (#2910) 8 years ago
Tim Rupp 4e8566739e Fixes domains method not defined (#2907)
The domains method was not defined, and therefore when specifying
a parent domain during route domain creation, the process would
fail.

Tests have been added to detect this going forward
8 years ago
jctanner b6fd074bd0 vmware_guest implement clonevm for multi-dc environments (#2909)
* Fix bug in processing of null return
* Fix multi-dc folder location by enhancing the foldermap and using it to search
* Remove unused functions
* Refactor finding vm by folder

Fixes #2900
8 years ago
Cougar 7dbdadb396 vmware_guest Fix: remove 'nic' and 'disk' requirements for facts (#2844) 8 years ago
Benjamin Doherty ac72df08dd Updates to `archive` module based on code review (#2699)
* Use common file arguments on destination file
* Rename 'compression' to 'format' h/t @abadger
* Add support for plain 'tar' format
* Ensure check_mode is respected
8 years ago
Peter Sprygada 4932df69bc updates to asa_config module for Ansible 2.2
* clean up functions and remove unneeded code
* config difference now includes keyword argument
* module reports changed when save argument is yes with or without check_mode
* updated fail_json return with exc kwargs
* fixed up import statements
8 years ago
Peter Sprygada dc52d3627a fixes a number of nagging issues in asa_acl due to refactoring
* fixes issues with import error
* removes need for filter attribute in Cli instance
* now filters config either from device or provided via config argument

ref: #2890
8 years ago
Rene Moser edb24dac2d jenkins_job: refactoring 8 years ago
Rene Moser 3c04ed977d jenkins_job: implement diff support 8 years ago
Rene Moser 171b71cfa0 jenkins_job: rename enable to enabled and mutually exclusive with config
Jenkins stores the information about the state (disabled/enabled) in the config, which result in a race condition between `config` and `enabled` and we loose idempotency. It makes sense to define them mutually exclusive.

Renamed `enable` to `enabled`. Ansible uses the name `enabled` in many modules, e.g. service as it indicates a state not an action.
8 years ago
Rene Moser bd4c935fd7 jenkins_job: default state to present 8 years ago
Will Thames 3eeda4f844 firewalld should fail nicely when service is stopped (#2871)
Ensure the HAVE_FIREWALLD checks check only for the
presence of the python dependencies, and not the age
of the library or the state of the service, which
are checked later.
8 years ago
Peter Sprygada 7ce98f52cf bug fix in asa_acl module for missing candidate config
This bug was introduced accidentally when refactoring to 2.2.  The instance
of the candidate config was deleted.  This adds the candidate config
instance back

fixes #2890
8 years ago
Tobias Wolf 62575fdf48 Fix one character typo in my previous PR for debconf module (#2899)
Small oops in the previous PR #2530 commit.

Instead of `diff_dict` it slipped through as `diffdict`.

Please merge and sorry.
8 years ago
Alex e2795d1401 Start zypper in non-interactive mode (#2854) 8 years ago
sgujic d34f3b4c05 Create temporary file in a secure manner. (#2887) 8 years ago
Nils Pascal Illenseer acadc2ac9c Delete lxd container in state stopped (#2885)
If a lxd container is stopped, do not stop it before deleting it.
8 years ago
Gilles Gagniard 05c8630b48 GCE : Fix image family handling with libcloud > 0.20.1 (#2289)
* fix image family handling with libcloud > 0.20.1

* add missing import
8 years ago
Robyn Bergeron 7c27f57052 Updating GUIDELINES.md
Updating info on how issues are routed via bot.
8 years ago
Greg DeKoenigsberg 39c1c14a08 Update MAINTAINERS.md
We could have deleted this, but just in case there are links to it from elsewhere, providing a redirect to the now authoritative GUIDELINES.md.
8 years ago
Greg DeKoenigsberg 41d7066a58 Point to GUIDELINES.md 8 years ago
johanwiren e98eb785df Fix share aliases logic (#2862) (#2875)
Fixes #2862
8 years ago
John R Barker 3f1c3a0532 Document a10_server new options (#2876)
* Document write_config and validate_certs
8 years ago
Steve Gargan 7cd3da9b58 correctly iterate and return results of any service checks. (#2878)
current implementation was breaking making the module unusable, changing to the list comprehension fixes this. Also default to seconds instead of throwing a exception when no duration units are supplied as this causes tests to fail
8 years ago
Matt Clay d00e941a0e Remove stderr=False from calls to exit_json. (#2879) 8 years ago
Tim Rupp 7e36f4f302 Adds bigip_ssl_certificate module (#2831)
Adds bigip_ssl_certificate module

This module is another in the ongoing "bootstrapping saga" that is
being undertaken. With this module you can manage the lifecycle of
the SSL certificates on a BIG-IP. This includes those used for
SSL offloading.

Tests for this module can be found here

https://github.com/F5Networks/f5-ansible/blob/master/roles/__bigip_ssl_certificate/tasks/main.yaml

Platforms this was tested on are

12.0.0
12.1.0
8 years ago
Ryan S. Brown a96261a391 Normalize variable naming in cloudformation_facts module using camel2snake 8 years ago
Ryan S. Brown 215a591771 cloudformation_facts: Connect boto3 using the module_utils AWS connection instead of calling boto3 directly 8 years ago
jmenga 0d6073aa47 New module cloudformation_facts (#2329) 8 years ago
Michael Scherer f8b7ab1e10 Do not crash if the system do not have required modules (#2852) 8 years ago
Tobias Wolf e969010cf9 Add diff mode output to debconf module (#2530)
Support diff such that the previous and current settings are visible
without debug output and just with `--diff` if requested.
8 years ago
sermilrod 03b1844150 adding jenkins_job module (#2521) 8 years ago
Werner Dijkerman 800e1c7bc0 Added new module opendj_backendprop for updating backend settings opendj (#2855)
Add opendj_backendprop
8 years ago
Peter Sprygada 32bbddee23 update asa_config module
* removes get_module() factory method for NetworkModule
* add src argument to provide path to config file
* add new choice to match used to ignore current running config
* add update argument with choices merge or check
* add backup argument to backup current running config to control host
* add defaults argument to control collection of config with or withoutdefaults
* add save argument to save current running config to startup config
8 years ago
Peter Sprygada e2e0029fab roll up of updates to asa_template
This updates the asa_template module with updates for Ansible 2.2.

* removes get_module() in favor of NetworkModule
* fixes up import statements
8 years ago
Peter Sprygada 283cc51fdb added new functionality to asa_command
* commands argument now accepts a dict arguments
* only show commands are allowd when check mode is specified
* config mode is no longer allowed in the command stack
* add argument match with valid values any, all
8 years ago
Peter Sprygada 8e45ec9734 roll up updates to asa_acl module
* remove get_module() in favor of NetworkModule
* fix up import statements
* roll up fixes for NetworkConfig object handling
8 years ago
Filipe Niero Felisbino 9ba2f0f266 Fix attachment issue ( thanks @gunzy83 ) 8 years ago
Filipe Niero Felisbino f4ace1e9cc Change attached parameter default to None 8 years ago
Filipe Niero Felisbino f41900920f Add "version_added" to attached attribute 8 years ago
Filipe Niero Felisbino 1c1a17bfd2 Add attached parameter to ec2_eni module 8 years ago
Filipe Niero Felisbino 94d03b6b55 Add RETURN docs 8 years ago
Filipe Niero Felisbino 7ae8693bda Fix docs 8 years ago
Filipe Niero Felisbino f8314c3e61 Fix the AMI creation/modification logic thus making it idempotent 8 years ago
Thierno IB. BARRY bc55db2ff0 elasticsearch_plugin: Fix bug when using proxy (#2603) (#2838) 8 years ago
Nadir 5de3dbbf6d Added redrive policy options (#2245) 8 years ago
Robin Roth 6c9c4e7482 Zypper repo autoimport keys (#2132)
* zypper_repository add auto_import_keys options

* also give more output on failure (rc, stdout, stderr)

* be more specific in the doc for auto_import_keys

* add runrefresh option to zypper_repository

* this comes out of ansible/ansible-modules-extras#2411, where AnderEnder adds refresh to the zypper module
* adds a way to force zypper to refresh a repository
* can be used to refresh independently of auto_import_keys
* add option to run name=* runrefresh=yes
* name runrefresh to not break existing use to refresh (now alias to autorefresh)
* add version_added flag to autorefresh

* remove wrong version_added comment
8 years ago
EarlAbides 961c076e72 Fix ec2_asg_facts module when using name parameter (#2840) (#2841) 8 years ago
Tim Rupp f48791e8bc Bugfix bigip_facts that was trying to check the length of an iterator (#2842)
Recently, a user reported that the bigip_facts module was failing with the error

    received exception: object of type 'itertools.imap' has no len()

This reported was occurring at line 1657 of the bigip_facts module

bug report is here

https://github.com/F5Networks/f5-ansible/issues/25

Upon further investigation, the map function for returning the specified
includes was returning an iterator, and calling len() on an iterator does
not work.

I believe this problem was caused by part of the Python 3.x effort insofar
as the inclusion of this line

https://github.com/ansible/ansible/blob/devel/lib/ansible/module_utils/basic.py#L143

seems to affect our usage of map(), probably for the better anyway, and we need
to change our expectations in our module's code to no longer assume a list, but
instead assume an iterator.

After trawling through the module_utils/basic code, I think a list
comprehension is more appropriate here anyway, so I'm changing it to be
that. The affected user reported it works this way, and my own testing
on 2.2.0 supports that.
8 years ago
Kevin Hulquest e47a5674fb Add facts and storage system modules. (#2748)
* Add facts and storage system modules.

* Update version metadata.

* Add facts and storage system modules.

Update version metadata.

Add init files.

* Fixes for review comments.

* Fixes for review comments.

* Update document fragments for api_* options to indicate they are required.

* Correct bad string concatenation.

* Add option description for validate_certs since basic_auth arg_spec is no longer extended.

* Add default value for validate_certs in docstring.

* Rename directory name so it applies to netapp and not simply eseries platform.

* Rename modules to differentiate other netapp modules.
8 years ago
Robin Roth fb49e0401e Ensure the return value for changed is bool (#2830)
fixes #2827
8 years ago
Michael Grandjean 70e8bb3092 Fix typo in EXAMPLE section (#2833) 8 years ago
John R Barker b7afa14f64 Minor tidyup (#2828) 8 years ago
Matt Clay 7e3af74fae Add python3 testing for module PRs. (#2825) 8 years ago
Ryan Brown 2858d24acb New module: execute_lambda (AWS) (#2558)
First version of execute_lambda module

Supports:
- Synchronous or asynchronous invocation
- Tailing log of execution (sync execution only)
- check mode
8 years ago
Monty Taylor 510e1140ce Error if shade is too old for domain_id on os_project (#2806)
* Error if shade is too old for domain_id on os_project

os_project's domain_id parameter requires shade >= 1.8.1 to work. Be
explicit.

Fixes #2805 os_project requires python-shade 1.8.1 or higher

* What I really meant was 1.8.0
8 years ago
Matt Martz 91abacfca7 Make sure we don't catch rc=0 as a timeout (#2823) 8 years ago
Toshio Kuratomi 3cb7e4bd0e Style cleanups:
* Don't use iterkeys
* Don't use wildcard imports
8 years ago
Michael Scherer b255ac4ea6 Use six for iteration, to make it run on python3 (#2800) 8 years ago
Tim Rupp acdbe5cb3f Adds allow_service parameter to bigip_selfip (#2808)
This parameter can be used to open up access to (among other things)
the mgmt address of a BIG-IP. It is necessary for configuring bigips
in an HA configuration.
8 years ago
Tobias Rueetschi c0ad8b030e udm_user: change overridePWHistory and overridePWLength to snake_case 8 years ago
Tobias Rueetschi e4dd122ab7 univention udm_user: override password history. 8 years ago
Tobias Rueetschi 10a2eb9304 udm_user: change code to fit documentation with snake_case instead of camelCase 8 years ago
Tobias Rueetschi 34445d515d udm_user: change camelCase to snake_case in documentation 8 years ago
Tobias Rueetschi 3d563324dd univention udm_user: pep8 8 years ago
Tobias Rueetschi 661cf5d5ea univention udm_share: add aliases as documented 8 years ago
Tobias Rueetschi 3709fb651d univention udm_share: change documentation, use camel_case for parameters, old parameter names as alias 8 years ago
Tobias Rueetschi de34fdf681 univention udm_share: pep8 8 years ago
Tobias Rueetschi 8eb496989e univention udm_share: add example 8 years ago
Tobias Rueetschi ea72534151 univention udm_share: change some parameters to type bool 8 years ago
Tobias Rueetschi 1cc3afdbdd univention udm_share: reorder documentation parameters 8 years ago
Tobias Rueetschi 7dd96079f0 univention udm_share: add documenation 8 years ago
Tobias Rueetschi db4aca4621 univention udm_share: import only AnsibleModule from ansible.module_utils.basic 8 years ago
Tobias Rueetschi 6e4da8987e univention udm_share: add license information 8 years ago
Tobias Rueetschi b38979321d univention udm_share: add required_if to the API 8 years ago
Tobias Rueetschi bba8cdf0af univention udm_share: fix shebang 8 years ago
Tobias Rueetschi afccc72d41 univention udm_share: adapt to library univention_umc 8 years ago
Tobias Rüetschi a973d8e9c4 UCS udm_share: fix creating of new shares 8 years ago
Tobias Rüetschi 66380d6b7f UCS udm_share: added 8 years ago
Ethan Devenport dcd7544b26 Added parameter choices for bus. 8 years ago
Ethan Devenport 403c1ddf7b Set variable types, defined choices, and cleaned up whitespace. 8 years ago
Ethan Devenport f9e0830b44 Reverting recent commits back to initial PR and will move the new profitbricks_firewall_rule module and other recent changes to a new branch.
Revert "Added support for firewall rules, consolidated resource UUID retrieval methods for server and NIC modules, and set LAN type to int."

This reverts commit 464cbb89f2.
8 years ago
Ethan Devenport e1960d2488 Added RETURN documentation. 8 years ago
Ethan Devenport a3200fc98e Some further documentation updates including version. 8 years ago
Ethan Devenport 93a237f604 Minor documentation corrections. 8 years ago
Ethan Devenport 4b7a4e4495 Added support for firewall rules, consolidated resource UUID retrieval methods for server and NIC modules, and set LAN type to int. 8 years ago
Ethan Devenport e2c8fec8d9 Included version_added for new options. 8 years ago
Ethan Devenport 267052d7a5 Removed us/lasdev datacenter which the cloud provider no longer maintains. 8 years ago
Ethan Devenport 6d8e3eac7b Additional provider features added and fixed some bugs. * Added support for SSH keys, image passwords, SSD disk type, and CPU family. * Adjusted server create so that IP address is returned in response. * Restructured remove server method(s) to handle change status properly, gracefully handle missing servers, and improve overall performance. * Prevent duplicate server names from being provisioned so removals can be handled appropriately. * Fixed a bug in the count increment being a string rather than an integer. * Fixed issue with create_volume returning invalid response. * Fixed type bug in volume instance_ids for volume removal and improved volume management. * Fixed type bug in instance_ids for proper server removal and moved boot volume creation into composite server build request. * General clean up. 8 years ago
Wong Hoi Sing Edison d9a1b04e40 Fix ansible/ansible-modules-extras#1682: add dispersed volume support for gluster_volume (#2708) 8 years ago
afunix 32574aa358 gluster_volume module parses out additional hostnames provided by "gluster peer status" command [#1405] (#2811) 8 years ago
René Moser 4017be741a ec2_vpc_dhcp_options_facts: fix exception handling, fixes build (#2819) 8 years ago