Commit Graph

10545 Commits (c60954605b00f188e2b86c5a957ab177abd887e5)

Author SHA1 Message Date
chouseknecht 8f9ef1213d Fix for #3783 - command returns not found or does not exist. 8 years ago
Dan Schmidt c8ec843ac2 Fix "ansbile_facts" typo in docker_container module 8 years ago
Erik Nadel 6f5dfcf1bd Added statement about escaping characters in chron tasks (#3770) 8 years ago
David Fischer adec050165 Add MariaDB to valid RDS engines (#3337)
* Add MariaDB to valid RDS engines

* Update RDS module documentation
8 years ago
Gabriele 1977b42956 Fixing bug, added missing param (#3737) 8 years ago
Dmitry Marakasov 13d7a61160 Fix crontab argument order for writing (#3750)
Currently, when writing user's crontab, ansible calls

    crontab <file> -u <user>

This is incorrect according to crontab(1) on both FreeBSD and Linux,
which suggest that file argument should be the last.

At least on FreeBSD, this leads to incorrect cron module bahavior which
writes to root's crontab instead of users's
8 years ago
Ghe Rivero 3ae6583510 Make add ip_floating_ip idempotent
Closes issue #1858
8 years ago
Dag Wieers f7fcb81dd9 Add unpack results to error output, for debugging purposes on failure
This may help understand what is going on with #3631
8 years ago
Toshio Kuratomi 286a46e8b4 Python2.4's zipfile library cannot handle zip 64bit extensions which are needed for > 64K files (#3754)
Fallback to unzip if zipfile fails and hope that unzip can deal with it
(sites have an easier time upgrading the unzip utility than all of
python).

https://bugs.python.org/issue3997

Fixes #3560
8 years ago
Wolfgang Powisch 20d9c0c484 Update junos_facts.py (#3759) 8 years ago
Brian Coca 01819bbc9d fixed enabled reporting 8 years ago
Brian Coca 38d71b9eef fixed typo 8 years ago
Brian Coca 472d5c11ef added state in results for backwards compat 8 years ago
chouseknecht 0c5eac4243 Fix missing key error when updating existing virtual network. 8 years ago
Roberto Bampi 375884464e Add an example for SRV record in route53 (#3749) 8 years ago
Brian Coca 8085678dc8 first draft systemd service plugin (#3660)
* first draft systemd service plugin

* now systemd status handles multiline values
8 years ago
chouseknecht d0da544aef Fix for issue 3740. Make docker_service more resilient when targeting older API versions. 8 years ago
Brian Coca f6690828af deprecated docker (#3710)
* deprecated docker

* updated formatting
8 years ago
Alvaro Aleman 2f2f80ad4c Fix can_update test in os_subnet (#3664) 8 years ago
René Moser 5fc7bc45ac Add no_gateway_ip option to os_subnet module (#3736)
no_gateway_ip option can provide subnet that is not having a gateway.
fixes #1880
8 years ago
james-prior 68b9c2ffa7 Make explicit that virtualenv is created if needed for pip module. (#3731)
packaging/language/pip.py:
    virtualenv option:
        Mention that virtualenv is created if it does not exist.
            (Explicit is better than implicit.)
        Mention other relevant options.
    notes:
        initialized -> created
    Wrap long lines.
8 years ago
Doug Luce 9167abdd10 Fix S3 unavailable region error
This is to address this error:

  fatal: [site]: FAILED! => {"changed": false, "failed": true, "msg": "Failed to connect to S3: Region  does not seem to be available for awsmodule boto.s3. If the region definitely exists, you may need to upgrade boto or extend with endpoints_path"}

Commit 0dd58e9 changed the logic so an exception is thrown (by
`connect_to_aws`) before the `s3 is None` check is performed. This
changes the `None` check to a catch so the old logic can compensate.
8 years ago
Marcos Diez d34c5dfd69 Added one extra example in the authorized_key module. (#3637) 8 years ago
Marcos Diez 366d52cf18 The documentation of lineinfile now makes reference to blockinfile (#3639) 8 years ago
Ken Mitchell 8c2b333a73 Proposed fix to not require src and fstype arguments for mount. Issue #1259. (#1357) 8 years ago
Michael Scherer d519fca04b Port vsphere_guest to py3/py2.4 syntax (#3721) 8 years ago
Michael Scherer fefc0cdd50 Fix wait_for to compile on python3 (#3722) 8 years ago
Michael Scherer 82df6f981e Improve error reporting when git binary fail (#3266)
Showing stderr or stdout is a great help to understand
when something go south.
8 years ago
Michael Scherer b8175f70ce Convert packaging/* to py3/py2.4 syntax (#3702) 8 years ago
Kenny Woodson cd09aab9b4 Unindenting the delete to user (#3147) 8 years ago
Ryan Brown 962a446238 Allow users to pick AWS Aurora as an RDS engine (#3414)
Per the [RDS docs](http://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html),
add `aurora` as a valid DB engine.
8 years ago
Nathan Brown c053fa5378 Do not expect the elb to have policies or instances. Fixes #3593 (#3595) 8 years ago
kwerey 963cb64337 Add option to make RDS param groups for the MySQL 5.7 engine family. (#3695) 8 years ago
Lloyd Hazlett 20e86d1062 Add path type to argument_spec where applicable (#3040) 8 years ago
Matt Martz a2d94c85e9 2 Module fixes (#3611)
* Fix syntax error in azure_rm_virtualmachine.py

* Allow rhn_register to fail gracefully when rhn-client-tools is not installed
8 years ago
jctanner c952753735 Do not ignore the primary group if modifying the list of secondary groups. (#3585)
Fixes #1118
8 years ago
Toshio Kuratomi 7d9fb08e1a Py3 exclude list (#3698)
* Fix a few modules to pass syntax checks under python3

* Move from a whitelist of modules to check for python3 compat to a blacklist
8 years ago
Cheuk Lam a2ff7fc7ea Added support for accepting extra config options in vm reconfiguration. (#3327) 8 years ago
chouseknecht afc8c42e57 Fixed the URL in description. It's now valid Yaml. 8 years ago
chouseknecht f14d675d2a Remove the U(). 8 years ago
chouseknecht 176363052f Uppercase 8 years ago
chouseknecht 2b4ee0c19d Make the new bits a NOTE 8 years ago
chouseknecht 4ac31f1e8d Where to get the full docker picture. 8 years ago
Michael Scherer c0217e14a7 Convert the network subfolder to py3/py2.4 syntax (#3690) 8 years ago
Michael Scherer 09066f1518 Convert all databases modules to python3 and 2.4 syntax (#3688) 8 years ago
Michael Scherer f7b29ba8fd Convert the whole files/ directory to py3 syntax (#3685) 8 years ago
Mike Bryant 0027158b74 junos_template: Simplify arguments. Fixes #3621
Simplify the arguments to junos_template, such that
merge/overwrite/replace can be selected easily.
8 years ago
Kei Nohguchi d738ad0ee0 ops_template.py: Change integer key into stirng
This fix passing the update variable to the str()
so that it avoids the exception when ops.dc.read()
returns a dictionary which contains non-string keys.

This is due to the fact that some of the key types in
OpenSwitch schema are actually defined as integer
and ops.dc declerative config module encode those
in integer inside the dictionary.  This could be
the right encoding from the schema point of view
but someone needs to convert it to the string
somewhere, as JSON key should be string.
8 years ago
Kaz Cheng ff1c591c3e Allow create_iam_role to return an additional value of role_result and (#2418)
instance_profile_result, in addition to the existing role list and change value
8 years ago
Shubham 8a6237955d remove module argument, fix #3682 (#3683) 8 years ago
Michael Scherer cca89ef489 Port seboolean to py3/py2.4 syntax (#3679) 8 years ago
Michael Scherer c793571bc3 Port mount to python3 and python 2.4 compatible syntax (#3678) 8 years ago
Michael Scherer fd61e81764 Port authorized_keys to a syntax compatible with python3 and 2.4 (#3677) 8 years ago
Michael Scherer 907b3fb667 Port hostname to a py24 and py3 compatible syntax (#3676) 8 years ago
Michael Scherer e02f401225 Port sysctl to a py3 and py24 compatible syntax (#3675) 8 years ago
Michael Scherer f0fd1109dd Port cron to a py3 and py24 compatible syntax (#3674) 8 years ago
Michael Scherer f2212dc41a Port user module to python3 and 2.4 compatible syntax (#3673) 8 years ago
Michael Scherer 31126034b0 Port htpasswd to python3 compatible syntax (#3672) 8 years ago
Michael Scherer 73a33c02a9 Do not use a tuple as argument for _create_connection (#3655) 8 years ago
Michael Scherer abfc8d36a8 Add a test on jnpr.junos.utils.sw presence (#3666) 8 years ago
jhawkesworth 2042d948db fix formatting to avoid smart quotes, which breaks ability to copy and paste the jinja2 header from the web docs (#3671) 8 years ago
Michael Scherer f423554e20 Testing the module on freebsd fail, since module is not assigned yet 8 years ago
Michael Scherer 98c729bfd7 Fix the argument for acl module (#3653) 8 years ago
Matt Martz 190f24f30e Revert "Fix doc strings spacing."
This reverts commit 127d518011.
8 years ago
chouseknecht 26392077c0 Fix doc strings spacing. 8 years ago
chouseknecht 8e6d00f28e Fix doc strings. Missing requirements and doc fragment reference. 8 years ago
Michael Scherer b788f45b49 Use the proper type for 'dest' argument 8 years ago
Toshio Kuratomi 291e00d43a Docs fixes 8 years ago
Dag Wieers c650f06b03 Fix small typo (#3642) 8 years ago
chouseknecht d5b82d67b8 Fail gracefully when build path is not found. 8 years ago
Brian Coca ca7defeee5 made note about slurp memory consumption 8 years ago
chouseknecht 9a021b4181 Fixed files/project_files naming. Correct name is files. 8 years ago
chouseknecht 5837f744e0 Flip version added back to 2.2 to make tests pass. 8 years ago
chouseknecht 018c2f8f73 Moving version added to 2.1 8 years ago
chouseknecht e8d49261e3 Added actions to RETURN docs. Show actions when debug or check mode. 8 years ago
chouseknecht 2860f57551 Removed use of --diff. Replaced 'diff' in output with 'actions'. Only show 'actions' in output if debug true. 8 years ago
chouseknecht be24f83a41 Removed fail method. Combined recreate and force_recreate params. 8 years ago
chouseknecht 50ef604713 Adding docker_service 8 years ago
Toshio Kuratomi 93fe022aa4 Port to dual python2/python3 compat 8 years ago
Toshio Kuratomi e10b7e1773 Port ping to dual python3/2 compat. 8 years ago
Chris Houseknecht 8ba5cc4392 Fixed parameters passing in container_create method. (#3618) 8 years ago
Johannes Meixner af634ff5c7 network/*/*_config.py: Correct typo.
- Replace syntanx with syntax in all things network.
8 years ago
Scott Butler e606a1237b Fixed typos 8 years ago
René Moser 326f7166c0 apt: fix always changed when using deb file on Debian 8 (#3541)
Extends d74e82a3f1e3293ffb70c172e5bb2b6e1ff6dbcc with also support
downgrade.
8 years ago
James Tanner bc39f8c42e Revert "remove checking of stderr for insserv (#1846)"
This reverts commit 2ee6e4cf66.
8 years ago
Veaceslav Mindru 8c6af73218 add vlidate_certs option for unarchive module (#2635) 8 years ago
TheSameCH ca8bf6ab4c remove checking of stderr for insserv (#1846)
stderr of insserv can also contain warnings which can be ignored. checking rc only is more accurate.
fixes #1502
8 years ago
Brian Coca 985abd2020 switched to return facts 8 years ago
Brian Coca c03e1bd2d5 fixed documentation and arg issues 8 years ago
Rene Moser 9f1cfe07bb mysql_user: fix unresolved reference
L282, module is used but not passed into function. Replaced check_mode reference and used module instead since check_mode is also in module.
8 years ago
Rene Moser 6a7682c7ea mysql_variables: fix inconsistent params, fixes ubuntu 16.04 support
In the mysql_user module, login_host is defined as "localhost". Setting this to localhost also fixes Ubuntu 16.04 support.

To make it more consistent in the future, the params in all mysql modules should move to module utils. I'll take care.

Also fixed a few other things along.
8 years ago
hyperized 82cefd7ce1 Added restart functionality to ec2.py 8 years ago
n0trax 2c3caa33f7 Add checkmode and reduce code duplication (#2417)
- httpd removed from control_binaries
- check for enabled module after running a2enmod/a2dismod
- fail, if user has no permissions to run control_binary
- reduce code duplication
8 years ago
Toshio Kuratomi ed932a53cd Fix documentation 8 years ago
John R Barker d13046a905 ansible-validate-modules part 4: Enable check on ansible-modules-core (#3526)
* Call ansible-validate-modules

* Correct quotes + add newline
8 years ago
Toshio Kuratomi fa00c69ff2 bytearray isn't available in python2.4 (#3583)
* Detection of handler depends on the wrong handler failing to list the contents of the tarfile.

Use explicit compression types with the python tarfile library to
achieve that.

* bytearray isn't available in python2.4
8 years ago
Toshio Kuratomi cd26cc8a0d Detection of handler depends on the wrong handler failing to list the contents of the tarfile. (#3584)
Use explicit compression types with the python tarfile library to
achieve that.
8 years ago
Pomin Wu d997c79487 Fixed #3577 (#3578)
Initialize `upgradable` before use.
8 years ago
Virgil Dupras 930ea5dd55 unarchive: use Python's tarfile module for tar listing (#3575)
* unarchive: use Python's tarfile module for tar listing

fixes https://github.com/ansible/ansible/issues/11348

Depending on the current active locale, `tar`'s file listing can end up
spitting backslash-escaped characters. Unfortunately, when that happens,
we end up with double-escaped backslashes, giving us a wrong path,
making our action fail.

We could try un-double-escaping our paths, but that would be complicated
and, I think, error-prone. The easiest way forward seemed to simply use
the `tarfile` module.

Why use it only for listing? Because the `unarchive` option also
supports the `extra_opts` option, and that supporting this would require
us to mimick `tar`'s interface.

For listing files, however, I don't think that the loss of `extra_opts`
support causes problems (well, I hope so).

* unarchive: re-add xz decompression support

Following previous change to use Python's `tarfile` module for tar file
listing, we lost `xz` decompression support. This commits re-add it by
adding a special case in `TarXzArchive` that pre-decompresses the source
file.
8 years ago
Harlan Lieberman-Berg a0fe26b98b command: Correct suggestion of non-existant module apt-get 8 years ago
cspollar 7dc0dcc59e Add missing periods to description items.
Current theme used by docs.ansible.com displays description items on one line. Adding periods helps readability.
8 years ago
René Moser e006fac22d readme: add build state image from travis 8 years ago
chouseknecht 1d6517489b Add doc string for container_limits. Fixed push fail message. Use path type. 8 years ago
Brian Coca fdcc1fe763 clarified docs on overwrite 8 years ago
Michael Scherer 54c71b9331 Add a better solution for the ssh_known_hosts issue
Fix https://github.com/ansible/ansible/issues/10172 too
8 years ago
Chris Houseknecht a09569c150 Adding new module azure_rm_networkinterace_facts (#3460)
* Adding new Azure module.

* Updating based on PR comments
8 years ago
Chris Houseknecht 9406855d6b Adding new module azure_rm_publicipaddress_facts (#3463)
* Adding new Azure module.

* Updating based on PR comments
8 years ago
Chris Houseknecht 9db01b03fd Adding module azure_rm_virtualnetwork_facts (#3479) 8 years ago
Chris Houseknecht 8a3539e69e Adding module azure_rm_storageaccount_facts (#3483) 8 years ago
Chris Houseknecht 08c89626bc Adding module azure_rm_securitygroup_facts (#3485) 8 years ago
Chris Houseknecht 306cbd833d Adding new module azure_rm_resourcegroup_facts (#3487) 8 years ago
Chris Houseknecht 4807aa9c0e Adding module azure_rm_virtualmachineimage_facts (#3489) 8 years ago
Chris Houseknecht b4caa29b00 Adding docker_image_facts (#3493)
* Adding docker_image_facts

* Fix github credentials
8 years ago
Chris Houseknecht bc3391f1f9 Adding docker_container (#3495)
* Adding docker_container

* If state absent, stop the container before attempting to remove. Fixed status running check.

* If container absent, stop before removing. Fix container status check.
8 years ago
Toshio Kuratomi 371d7ec73d Fix docs building 8 years ago
Dag Wieers 356d9a272a Replace ansible_hostname with inventory_hostname (#3559)
This way these examples can be re-used using the ansible command (and don't require facts gathering).
8 years ago
Peter Sprygada bf200458d3 fixes docstring issue for junos_config arguments
The docstring was incorrectly merged with some old entries that will
cause the documentation not to build correclty.  It is now fixed.
8 years ago
Toshio Kuratomi 5f0dc2b90f Some beginning python3 porting for modules which have unittests 8 years ago
Brian Coca 8397c8169c fixed intersection 8 years ago
Michael Scherer ce0be575e2 Change gem_source and executable to 'path'
Both of them are file location, so they should be
marked as 'path'.
8 years ago
Ryan Brown 52edeeca4c Fix capitalization of AWS in ec2_lc module documentation 8 years ago
Brian Coca 0ae72e2712 rearranged options to be more declarative 8 years ago
Brian Coca 3ebfe3f00a fixed missign main 8 years ago
Brian Coca cf1b391201 several fixes:
- removed actions feature as this should be global and not per module
- removed default fields from return docs
- moved tags docs to shared fragments
- removed unused imports
8 years ago
Bill W 0fcc2d8973 Add more example on how to use module ec2_tags to list tags on an ins… (#3530)
* Add more example on how to use module ec2_tags to list tags on an instance

* Add more example on how to use module ec2_tags to list tags on an instance
8 years ago
deyvsh 3775d8e684 Extend example to demonstrate usage of ephemeral disks. (#3550) 8 years ago
jedelman8 28db5b7dd1 add nxos_interface 8 years ago
chouseknecht f09b7b02d6 Remove differences from output. Make options declarative. 8 years ago
chouseknecht ae30540ca2 Reduced states to present and absent. Power states are now bool options. 8 years ago
chouseknecht a67e9f3122 Updated version_added on options to reflect options added for 2.1. 8 years ago
chouseknecht f2e7f1935b Clean up and fixes post API version 1.20 testing. 8 years ago
chouseknecht 6f122bdc88 Fix github credentials 8 years ago
chouseknecht f257fb3efa Fix unfriendly exeption handling. 8 years ago
chouseknecht 6aa76b835a Updater per PR comments 8 years ago
chouseknecht 720e7daa3a Fix poller error handling 8 years ago
chouseknecht fd0554c67e Adding refactored docker_image module. 8 years ago
chouseknecht 4f35cb0b2e Adding module azure_rm_virtualmachine 8 years ago
tonyqui cb9df31ef3 Fixing a typo, floating-ips has been used instead of floating_ips (#3540) 8 years ago
Brian Coca 8a4257d297 removed incorrect defaults from docs 8 years ago
James Cammarata 124c4b94c1 Remove extraneous debug stuff from uri module left over from testing 8 years ago
James Cammarata 50cd8b0aa5 Make sure uri output contains json output when a non-200 status is returned
Prior to the switch to the urls.py code, non-200 responses contained
a 'json' value when the content-type was JSON. This fix restores that
field upon a non-2xx response.

Fixes ansible/ansible#15555
8 years ago
Nathaniel Case 75dbe9f1e8 Remove unnecessary exception from nxos_command (#3521) 8 years ago
Chris Houseknecht c5b7e456bd Adding docker_login (#3494)
* Adding docker_login

* Set correct version_added.

* Fix github credentials
8 years ago
Konstantin Gribov 9284c80039 Escape spaces, backslashes when create new entry in fstab (#3193)
Supplement to PR #1454 and issue #530.

Fixes #3192.
Fixes #1861 (introduced by PR #1454).

Signed-off-by: Konstantin Gribov <grossws@gmail.com>
8 years ago
Brian Coca 0ba37906df minor doc fixes 8 years ago
Chris Houseknecht e85368cb3e Adding new module azure_rm_resourcegroup (#3490)
* Adding new module azure_rm_resourcegroup

* Fix poller error handling
8 years ago
Chris Houseknecht 6d4a5e5f0e Adding module azure_rm_storageaccount.py (#3484)
* Adding module azure_rm_storageaccount.py

* Fix poller error handling
8 years ago
Chris Houseknecht fedf06c449 Adding module azure_rm_securitygroup (#3486)
* Adding module azure_rm_securitygroup

* Fix poller error handling
8 years ago
Chris Houseknecht 8ba16e9866 Adding new module azure_rm_storageblob (#3482) 8 years ago
Chris Houseknecht 0d285ec18b Adding module azure_rm_subnet (#3481)
* Adding module azure_rm_subnet

* Fix poller error handling
8 years ago
Chris Houseknecht d80e4f53ec Adding module azure_rm_virtualnetwork (#3480)
* Adding module azure_rm_virtualnetwork

* Fix poller error handling
8 years ago
Chris Houseknecht 4a99a6ee8f Adding new module azure_rm_networkinterface (#3461)
* Adding new Azure module.

* Updating based on PR comments

* Fix poller error handling
8 years ago
Peter Sprygada 8729bcde3f adds new module junos_package
the new module allows playbook designers to manage packages on remote
devices running junos.
8 years ago
Peter Sprygada ef794d95e5 adds new module ops_facts
This adds a new module for collect device facts from remote devices
running OpenSwitch.  This module is useful when collecting fact information
over CLI transport.
8 years ago
GGabriele b375f61d2b Fixed doc 8 years ago
GGabriele 9aeaa70e32 Changed module name to nxos_facts 8 years ago
GGabriele 693f7c938e Fixing bugs 8 years ago
GGabriele 84ecc21677 Adding nxos_ip_interface 8 years ago
chouseknecht 198bb7c644 Updating based on PR comments 8 years ago
GGabriele 02744e7cab Adding nxos_vrrp 8 years ago
GGabriele f4fd69bcff Adding nxos_ping 8 years ago
jedelman8 be91a5622a fix index for portchannel 8 years ago
GGabriele 10238bbb06 fix conditional for py24 8 years ago
jedelman8 cda210c3f9 fix docstring 8 years ago
jedelman8 ad9ede5d4c force travis build 8 years ago
jedelman8 89aabffee8 minor test 8 years ago
chouseknecht 36de316c1b Adding new azure module. 8 years ago
jedelman8 01b8f7db5e update return doc string 8 years ago
GGabriele 66eea14df2 Fixed RETURN string 8 years ago
GGabriele 0798968596 Fixed RETURN string and added notes 8 years ago
GGabriele 97577df048 Fixing nxos_vrf 8 years ago
GGabriele 62b0b48f58 Adding nxos_vrf_interface 8 years ago
GGabriele 2c43f6b35c Adding nxos_vrf 8 years ago
GGabriele b4d69262ed Adding nxos_get_facts 8 years ago
GGabriele 95992b91bd Addng nxos_feature 8 years ago
jedelman8 6ae109630e add nxos_vlan 8 years ago
jedelman8 5ef3a6430a add nxos_switchport 8 years ago
Peter Sprygada a9b664c796 add support for netconf to junos_config
The junos_config module now supports the netconf transport.
8 years ago
Peter Sprygada abb008dca7 fixes docstring format in junos_command 8 years ago
Peter Sprygada 89ebc8b066 adds config_format argument to the facts module
this change adds config_format argument with choices of xml, set or text to
specify the desired format of the config returned from the remote device.  The
default value is text
8 years ago
Peter Sprygada 9d521aa7e0 Merge pull request #9 from dgarros/junos_modules
Add support for xml, set and text format for config
8 years ago
Guido Falsi 582a5bccc8 Make FreeBSD subclass respect the sleep option. 8 years ago
Michael Scherer 5b32a299a5 Change home and ssh_key_file to 'path' in user module 8 years ago
Darek Kaczyński 08ad68984c Fix for 'cannot unmarshal array into Go value of type string' error about HostConfig Binds (#3496) 8 years ago
Peter Sprygada 1985115e55 adds new module junos_netconf used for configuring netconf services
This module allows playbook operators to configure the netconf service in
junos for use with other juniper modules.
8 years ago
Peter Sprygada 2072922875 adds new junos_facts module
The junos_facts module will collect basic system inforamtion about remote
devices running the Junos operating system
8 years ago
Sumit Roy b8204774dd Support tagging ELBs using boto 2.0. (#2844) 8 years ago
Peter Sprygada 871e586ce3 add support for netconf to junos_template
This commit adds support for sending full syntanx junos configurations using
junos_template and netconf
8 years ago
Peter Sprygada 923974e3c0 add support to junos_command module for netconf transport
This adds support for using netconf to the junos_command option and removes
the use of cli as a transport
8 years ago
jctanner 56f5ca37af Fix status check on get_url with file schemas and update the examples. (#3512)
Addresses #3511
8 years ago
Brian Coca 4e08f94a34 corrected return docs sample 8 years ago
nitzmahone bc4510b0d4 docs for win_reboot action 8 years ago
vaupelt ae464c5b5e exclude_hosts does not work as expected with state=drained
There are established connections for a service. The service is bound to a ipv4-mapped ipv6 address. Wait_for wrongly waits for clients listed in exclude_hosts.
8 years ago
Michael Scherer 001ceb8dc6 Remove old test on SELinux (#3510)
since all is done in modules_utils/basic.py, no need to make
the same test here, especially since that's unused later
8 years ago
Robin Roth 281398fdc2 fix git switch branches in combination with depth on old git versions (#3492)
* fix git switch branches in combination with depth

* the old implementation is correct, but relies on git working correctly
  (as only newer versions do)
* with some older git version (e.g. 1.8.3), git fetch remote branch does
  not work, if the branch does not yet exist locally
* this patch works around that without explicitly checking the git version
* future refactoring is needed to reduce the number of fetches to a
  minimum; but this patch makes the code "correct"

* add git version requirements to doc

* replace set-branches with git 1.7.1 compatible version
8 years ago
ThomasSteinbach a90fd67c7e docker: fix type issue (#3491)
* fix type issue

* fix type issue for 'volumes-from'
8 years ago
Rene Moser 885b8dc4d0 git: fix status to use porcelain, ignore user configuration
From the git status doc:

    --porcelain

        Give the output in an easy-to-parse format for scripts. This is similar to the short output, but will remain stable across Git versions and regardless of user configuration. See below for details.

User configuration can break the git module from working as expected.
8 years ago
Dreamcat4 eeabebdd6c fix: win_get_url - fixes for strict-mode 8 years ago
Dreamcat4 c85a82ad00 fix: win_stat - fixes for strict-mode 8 years ago
Adrian Likins 4141cc5548 improve redhat_subscription documentation (#3348)
* add subscription-manager's --type, --consumerid, --name option support

* redhat_subscription: More docs on consumerid
8 years ago
Michael Scherer 69f2b3d727 Fix error reporting for fetch_key (#2662)
Since fetch_url already take care of the exception, the try/except
clause is no longer working, so replace it with proper status
checking, thus permitting to remove urlib2 from the import list.
8 years ago
Constantin 404f07af8e Added improvements and documented return structure (#2320) 8 years ago
jjshoe 87946920d8 Fix an issue where by a call to ec2.get_image wasn't wrapped in a try/except, and would occasionally throw an exception in the wild. Also greatly simplifies two of the ugliest known loops to man down into a single loop. (#2554) 8 years ago
Brian Coca 34a3bc043a removed usless default doc 8 years ago
Justin Kennedy ab4b8e0847 Updating examples to include required fields (#3242)
Updated examples to include required fields (host, username).  Also updated src option to be listed as required.
8 years ago
Brian Coca 6a309ee6ab added missing version_added 8 years ago
Pål Nilsen 7e18da79c3 Add optional force parameter for apache2_module (#3251)
* Add optional force parameter for apache2_module

Fixes #2499

* Add documentation for the force parameter

* Clarify in description that -f(orce) is a Debian parameter
8 years ago
Jan Hutař d91f803897 Add support for Satellite/Spacewalk which have slightly different API to Hosted (#3289) 8 years ago
Michael Scherer edc0752395 Suggest using uri if curl is detected
Some people use the command module to run curl not to
download file, but to interact with remote HTTP api, and the
get_url suggestion is not suitable. So adding uri in the warning
would give a more meaningful warning.

Suggested by Tahvok on #ansible irc channel.
8 years ago
Dennis Conrad 70b0891f95 Fix UnboundLocalError if 'access_key_ids' not supplied
'key_ids' is referenced before it is assigned, causing the module to fail with a UnboundLocalError instead of failing gracefully with a helpful error message.  This very small patch moves the assignment of 'key_ids' to before the variable is referenced.
8 years ago
Toshio Kuratomi 9e9b6a24f4 Fix apt module needing another format character 8 years ago
Robin Roth c7cb1b28cd fall back to full clone if version is hash
if version is not a branch or tag (i.e. a hash), we need a full checkout to be able to switch to it
8 years ago
Robin Roth 8e5e5108d1 with depth only fetch actual version
* don't use refs/heads/branchname for branches
* for tags it's needed thou
* fixes #3456
8 years ago
Jeroen Geusebroek 54e62c2022 Allow an empty password when adding a new MySQL user. (#3445) 8 years ago
Kyle Dyroff 58f30646ed Log git error stdout/stderr to fail_json (#3022) 8 years ago
Dag Wieers a26188e55d Making unarchive idempotent (#3307)
* WIP: Making unarchive idempotent

Currently unarchive is not idempotent and has many rough edges and bugs.
The current release is a workable improvement on many fronts:

- zip support is now idempotent (but gtar lacks check-mode)
- New option `exclude` to exclude specific paths/files
- New option `keep_newer` to exclude newer files on target
- New option `extra_opts` to influence unzip/gtar (like synchronize module)

The following items are still ongoing:

- Implement CRC32 support for .zip files
- Re-implement the zip support using native zipfile module
- Re-implement the gtar support using native tarfile/gzip/bz2 modules (lzma external)
- Implement check-mode (works in gzip, but fails using gtar)
- Implement diff-mode (discuss an appropriate output model, like synchronize module)

The re-implementation of unzip/gtar support using native python modules will not only simplify the codebase, additional functionality can be implemented correctly and identically, which is currently not possible. (Other archives could be implemented using native modules equally, incl. options)

* Assorted fixes to zip support (during quality checks)

- Support both rw---- and rwx--- permstr
- Better file type support (more qa needed)
- Symlink support
- Include fix from #3229

* Implement zip diff-mode (itemized change) and avoid changes permissions every time (!)

This commit implements:
- rsync-compatible itemized-change output in diff-mode (using zip)
- no longer changing permissions unconditionally (when idempotent)

* Small fixes to itemized change output

* Fixes to user/group ownership changes

- The implementation of user/group ownership is a bit more complex for idempotency
- We report when a ZIP file incorrectly tags a directory as a file/link
- We only offer diff output when there is a change

* Fix the handling of includes and excludes for unzip

* Remove test output from output (confuses easily)

* Logic and performance improvements to ownership handling, and umask fix

* Handle special files (type '?')

* Make exceptions compatible with python 2.4

* Implement CRC32 support

* Revert some unintended/unknown changes ?

* Taking over maintenance as offered by current maintainer

* Fix support for white-spaces in filenames

* Remove/rename incorrect regex

* Ensure that fat executables end up with execute permission

* Remove check_result from output when unchanged

* When unarchiving as a user, or when owner/group/mode is supplied --diff is insufficient

Only way to be sure is to check request with what is on disk (as we do for zip).
Leave this up to set_fs_attributes_if_different() instead of inducing a (false) change

* By default, don't send confusing check_results in verbose output

This fixes #74.
8 years ago
NielsH 1b94aa2d43 Resolve idempotency issue with virtual apt package (#3449)
Virtual packages were always marked as upgradable which caused the changed-state even though nothing changed.
8 years ago
Tobias Wolf fb5a91d9d1 Add diff to apt.py (#2944)
for install, remove, deb_install, and upgrade.

Since apt has very commonly familiar output, just use the normal output
from apt-get or aptitude -- trimmed to the interesting parts -- to show
to the user if she specified --diff on the CLI.

Uses the recent support for the `diff['prepared]` key.

Fixes ansible/ansible#10239
8 years ago
Oleg Senin 7ceaafbbd2 Correct misspell (#3454) 8 years ago
Kei Nohguchi fc5ade4020 ops_template.py: Taking care of the JSON src variable (#3313)
* ops_template.py: Taking care of the JSON src variable

* ops_template.py: Specify type='str' for src argument to be explicit
8 years ago
Marcin c3ebc84689 rebase for #2477, ready_for_review (#2581) 8 years ago
Michael Fenn add1a342fe Support altering the virtual cdrom when state == reconfigured (#2394)
This allows a user to modify the state of the virtual cdrom in a VM
by using the state == reconfigured action.  This is useful for
provisioning VMs from templates which do not have ISO images connected.
8 years ago
Alexey Wasilyev 4971c7fe82 docker: support polling image by digest (#2932) 8 years ago
Joel Thompson 1db444cdc2 Add exponential backoff retries to ec2_elb_lb (#3379)
ec2_elb_lb doesn't react well to AWS API throttling errors. This
implements an exponential backoff operation around some of the AWS API
calls (with random jitter, in line with AWS recommendations) to make
this more resilient.
8 years ago
Patrick Ogenstad d4d86b4bc6 Fix documentation example, missing ")" 8 years ago
Donovan Jones 8274f55818 Make remote_group handle name and id in cloud/openstack/os_security_group_rule.py
* Make remote_group handle name and id

* fix regression breaking os_security_group_rule with no remote_group
8 years ago
Robin Roth b9e55a0877 make git updates respect depth (#3254)
* make git updates respect depth

until now `fetch` gets all tags and heads at full depth, this change
* uses `depth` argument for `fetch`
* only get the specified `version` in `fetch`

* fixes #14954

* treat combination of refspec and depth correctly

* be more conservative for non-depth fetch
8 years ago
jjshoe d3623c8148 Give encoding examples (#3436) 8 years ago
yarick123 87fe4a2f0c ini_file: added option 'noextraspaces' to turn off inserting extra spaces around '=' symbol
* ini_file: added option 'noextraspaces' to turn off inserting extra spaces around '=' symbol

* ini_file: noextraspaces, python 2.4 compatibility

* ini_file: noextraspaces - yes/no => true/false

* ini_file: noextraspaces - added 'version_added' option

* ini_file: noextraspaces => no_extra_spaces
8 years ago
hyperized 51e2813ae4 Set --quick to True by default and make it selectable (#3418)
As indicated by @jmainguy in eb1cb94380 (commitcomment-17077470), this will allow the user to set the option quick, which is True by default (as it was before).

This is in reference to: https://github.com/ansible/ansible-modules-core/pull/3402
8 years ago
Michael Moussa 0494dced3a Fixes read replica create BC break (#3365) 8 years ago
William Holroyd 42d784c24b Added ap-northeast-2 region (#2849) 8 years ago
Rob 5a48a2e93e Fix to ensure youngest snapshot is retrieved rather than oldest (#3115) 8 years ago
jjshoe 5b8d209b7e Speed up AMI code by not attempting to create the AMI without checkin… (#2551)
* Speed up AMI code by not attempting to create the AMI without checking on the name first. Also simplifies code for reporting errors from AMI creation, greatly.

* remove sys.exit
8 years ago
Joshua Kugler 15ae8c8e0b Fix mount's handling of passno 8 years ago
Petrox c050776f9e Missing documentation fix (#2516)
Extending the documentation to state, that this module does not handle externals well.
8 years ago
Marcin ea57d8b005 Check if identifier is specified for geo,weighted or failover routing. Don't fail if record set already exist. Set choices for failover - capital PRIMARY and SECONDARY. (#2470) 8 years ago
Fabian von Feilitzsch 32c744e82a make binds a list instead of a dict (to prevent overwriting when copying the same file to two places) (#2294) 8 years ago
Mengdi Gao 165f48717a Improve doc accuracy of template module 8 years ago
John Barker d531eb146d Replace BOOLEANS with true/false 8 years ago
John Barker b3bc4bc97f Add copyright notice for James Laska 8 years ago
Ricardo Carrillo Cruz 682d97b765 Create subnet by domain
A cloud/domain admin should be able to create a subnet on any
project it is granted on.
This change adds the 'project' parameter that accepts either
a name (admin-only) or id.
8 years ago
Ricardo Carrillo Cruz eecceaef6e Add project parameter to os_network
A cloud/domain admin should be able to create a network on any project
it is granted to.
This changes adds the possibility to pass either a project ID or
project name.
8 years ago
Adrian Likins 2a7324a385 Update redhat_subscriptions 'server_insecure' docs (#3373)
'server_insecure' maps to the subscription-manager config
(/etc/rhsm/rhsm.conf) value for 'insecure' key in the
'server' stanza. The 'insecure' configures if the https connection
to 'server_hostname' is verified as having been issued by
a CA in 'ca_cert_dir' trust store.

Previous documentation indicating it disables https and
enables http was inaccurate. Connection to server_hostname
always uses https.
8 years ago
Robin Roth ee06cd27b2 use custom ismount function in mount module (#2737)
* based on cpython os.path.ismount
* includes patch from http://bugs.python.org/issue2466
* fixes #2186
* when the upstream bug is fixed this should be removed/rewritten
* use ismount from module_utils
8 years ago
hyperized 075edf7bb2 Add single_transaction and quick options to MySQL DB module (#3402) 8 years ago
Michael Scherer 8b125f8c2c Mark path as type='path', do not leak login_password by error (#3396) 8 years ago
Michael Scherer c0179330c9 Update the type of some arguments in mysql_db module (#3285)
login_password should not be logged, so mark it as 'no_log'
the others arguments are path to file, and so should be type='path',
which permit to remove the line handling '~' and shell variables.
8 years ago
Tom Paine 7422ada2c8 Update mysql_db.py
* Update mysql_db.py

Resubmission of https://github.com/ansible/ansible-modules-core/pull/2961 in single commit.

* Update mysql_db.py
8 years ago
Rene Moser aa32ae65a6 openstack: doc fix, add version_added
see #3388
8 years ago
Matt Martz c26c17aa28 overwrite option was added for 2.1 8 years ago
peter.jang f7fb5e31c2 added rsync protocol support (#1999)
* added rsync protocol support

* correction for example document(add example for push on delegate)

* use startswith method for safety
8 years ago
nitzmahone 64cd7903f2 fix win_user type checking
Fixed type checking to be more idiomatic powershell, also fixes a slew of StrictMode issues and gets error handling back to originally-intended behavior.
8 years ago
Toshio Kuratomi 40948cfcc4 git still needs to have abspath applied to dest 8 years ago
David Shrewsbury dcbbd72cfd Wrap calls to main() with if check
A change was merged to the main Ansible core code that can cause

a potential hang if any libraries are called that use threading.

This change was:

  4b0aa1214c

This affected the os_object module by causing a hang on the shade

create_object() API call (which in turn calls swiftclient which

uses threading). The fix is to make sure all modules have a main()

that is wrapped with an "if __name__ == '__main__'" check.
8 years ago
Peter Sprygada ef8b59f430 handles config replace properly in eos_template
fixes 3366
8 years ago
Michael Scherer 2ae3dbcc6a Set the locales to avoid issue with screenscrapping
See https://github.com/ansible/ansible-modules-core/pull/2462 for

details on why this could happen
8 years ago
Thomas Quinot a5ec00f89f Reset all locale environment variables before running svn commands
We screenscrape the output of svn(1), so better ensure it is using the

C locale.

Fixes #3255
8 years ago
Kalle Lehtonen 02f737cdee Fix and add more error handling for role policies
In case role policy was deleted, we did not handle at all if there

was authorization issue to do the deletion. Also add message when

role is not found and the policy is skipped.
8 years ago
Peter Sprygada 8210ede9b4 refactor iosxr_template module to remove old diff functions
this replaces the old diff functions with the netcfg shared module for
handling configuration diffs between running and candidate
8 years ago
Peter Sprygada bba38d2cf8 refactor iosxr_config module to remove old diff functions
this replaces the old diff functions with the netcfg lib for handling
configuration diffs between running and candidate configurations
8 years ago
Peter Sprygada c2c8d51ba2 cleanup iosxr_command module to be consistent with other network modules
this cleans up some of the function calls and output keys to be consistent
with other command modules
8 years ago
Ricardo Carrillo Cruz 1b5288b703 Only check default_project on resource creation
The default_project is checked at the beginning of the module.
This raises an exception if the project passed does not exist.
This logic only makes sense on resource creation, if a user
puts state=absent the module fails, even though the default
project is not relevant
8 years ago
Peter Sprygada 834bc225c9 refactors nxos_template and removes diff functions
replaces the diff functions with the netcfg shared module for handling
configuration diff
8 years ago
Peter Sprygada 5a61909b4a refactors nxos_config and removes diff functions
this refactors the nxos_config module removing the diff functions and
replacing with the netcfg shared module
8 years ago
Peter Sprygada 19119a2759 cleans up nxos_command and adds some additonal info on exception
This cleans up some of the nxos_command module code function names to
be more consistent and adds additional information of failures
8 years ago
Peter Sprygada a4bb4ee146 refactors eos_template to remove diff functions
replaces functions with netcfg shared library for handling configuration
diffs
8 years ago
Peter Sprygada f77bb0ac28 refactors eos_config to remove config diff functions
replaces with netcfg shared library for handling configuration diffs
8 years ago
Peter Sprygada 006c11cf34 refactors the ios_template module to use netcfg diff
removes the functions for performing configuration diffs to use the
netcfg shared lib
8 years ago
Peter Sprygada ff928d0829 refactor ios_config to use netcfg diff shared lib
Move the configuration diff code from the module to the shared lib
8 years ago
Toshio Kuratomi 708d49777d Allow async to not need an args file since new-style modules have args embedded 8 years ago
Brian Coca ff755da1e5 fixed doc quoting 8 years ago
Brian Coca 37513ca8bb corrected required docs as only boolean is allowed
these complex values were not displayed and would always show the fields as requried
8 years ago
David Shrewsbury 1bdc3b3bb0 Pass wait/timeout parameters to floating IP APIs in os_server
If a server already exists when os_server is run, but a floating
IP was not assigned to the server when one was requested, the
module will attempt to add an IP to the existing server. But it
would not pass the wait/timeout params to the floating IP APIs.
If wait was True, you could get back a server dict that did not
show the floating IP because it did not wait.
8 years ago
David Shrewsbury 82a1208e64 Set type on floating_ip_pools in os_server
This has been expected as a list, so let's be explicit about it
so it will work correctly in 2.1 release.
8 years ago
Ricardo Carrillo Cruz 5d402f31c8 Fix is_public type on os_image
Without this fix, the is_public value is a string and the shade
call handling the module does not evaluate correctly when
passing is_public: no
8 years ago
Jan Hutar 45076bddb9 Add missing parameters so these options are usable 8 years ago
Michael Scherer 65243dfb91 Fix type of the rhn_register module
Password and activationkey should be tagged as no_log, as they
are supposed to be secret.
sslcacert is a path, so should be tagged as such.
8 years ago
Christian Aistleitner 51e3c6c49b Guard against too old boto library
route53 creates Record objects using `health check` and `failover`
parameters. Those parameters only became available in boto 2.28.0.
As some prominent LTS Linux releases (e.g.: Ubuntu 14.04) only ship
older boto versions (e.g.: 2.20.1 for Ubuntu 14.04), users are getting
unhelpful error messages like

  TypeError: __init__() got an unexpected keyword argument 'health_check'

when running Ansible 2 against their LTS install's default boto.
We improve upon this error message by checking the boto version
beforehand.

Fixes ansible/ansible#13646
8 years ago
Arnaud Lachaume 50622b4e6a fix aws elasticache idempotency 8 years ago
David Shrewsbury 4b97cd3a42 Add support for provider network options.
Adds new parameters for specifying options for provider network plugins.
8 years ago
whiter dadf835a06 Remove access_key and secret_key as these are provided by aws doc fragment Remove ec2 doc fragment as region is not required for IAM 8 years ago
Bence Nagy 0fd89cfd44 Add prefixing and suffixing fuctionality to assemble 8 years ago
Hugh Saunders 92ebeffd6c Retry apt cache updates 8 years ago
Michael Scherer 3d415ac2da Use type='path' for path arguments for git module 8 years ago
Michael Scherer 55bbe191e5 s/plubic/public/in the doc 8 years ago
nitzmahone eb3243c15a fix win_stat get_checksum alias issue
made it impossible to prevent gathering checksum without setting both get_md5 and get_checksum false
8 years ago
Toshio Kuratomi 6fae6c7b2d Give headers a default so that we can add to it. 8 years ago
Ash Wilson 6e2f724919 Remove myself from the docker module maintainers
Apologies, but I no longer use this module day-to-day myself, and I don't have the bandwidth right now to effectively triage changes in any kind of timely fashion.
8 years ago
Strahinja Kustudić db45268b75 Yum module always downloads remote rpms. fixes #1452 8 years ago
Michael Scherer daddfb490b Improve/fix type checking for docker module
tls_* point to files, so should be type=path
count is a int, so tag it as such and avoid converting later
password should be tagged as no_log
8 years ago
Ashwanth Kumar 7c5b4b142a Doing exponential backoff on route53 upon AWS throttling 8 years ago
Victor Beresnev 2e94affde6 If cmd and entrypoint not set, don't match them
Hello!
I wanted stop the containers matched only by image name, but can't do this, if I not set cmd in playbook.
This behavior confused me.

If cmd or entrypoint is defined for running container, but not defined in playbook, makes matching behavior as this sample:
https://github.com/ansible/ansible-modules-core/blob/devel/cloud/docker/docker.py#L463
8 years ago
curious-eyes 5b88ad45ef Add preemptible option on gce.py 8 years ago
Rene Moser 775521e5cb apt: doc: fix missing version_added
see #2023
8 years ago
Dag Wieers 084c597f45 Update the issue and pull-request templates in sync with ansible/ansible 8 years ago
Chris Lamb c012358d57 os/apt.py: Add support for passing --allow-unauthenticated
This is useful for packages that bootstrap their own apt-key setup - only
the initial installation will require overriding. Notable examples are the
Dropbox and Google Chrome packages.

(Setting force=yes is far too strong: I only want to bypass
authentication!)

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
8 years ago
David Shrewsbury 285ab7656f Fix allowed_address_pairs and extra_dhcp_opts in os_port
Commit f71542c set the incorrect type for these two parameters to
dict when they are actually list of dicts.

Also, the extra_dhcp_opts was incorrectly named (without the terminal
's') and NEVER worked, so this was corrected.

Fixes #3301
8 years ago
Ricardo Carrillo Cruz 344a559b61 Allow passing domain name on os_server
A cloud admin can search domains, thus it should be possible
to pass a domain name, just like ids.
8 years ago
David Shrewsbury b750b926d3 Fix size parameter documentation
The generated documentation shows the size parameter as required.
Set 'required' to 'false' and move the explanation to the description.

Fixes #3278
8 years ago
Brian Coca d035961d1c added version added 8 years ago
Peter Sprygada 11cd361d80 fixes #3274 8 years ago
Toshio Kuratomi 4c9f9973dd If file attribs are specified set them even if file already exists.
Fixes #11821
8 years ago
Yannig Perré 72d3aab736 Add an example of extra_hosts option. 8 years ago
Rene Moser facf61366e openstack: os_server: add version_added for scheduler_hints
See #3172
8 years ago
Ted Timmons 8c6741b2bb fix typo in documentation
let's -> lets
8 years ago
Toshio Kuratomi b70d691832 Fix indent in documentation 8 years ago
jhawkesworth@users.noreply.github.com 63f8bdf782 Use HEAD request to determine if file should be downloaded, ensure download method is the same regardless of force mode. 8 years ago
Raphaël Dubigny 71c50aed24 typo in pip module 8 years ago
Roland Sommer 0c1cf5ee1c honour 'only_upgrade' flag for 'build_dep' case in 'apt' module 8 years ago
Taras Lipatov b5fb47e28e Fixed typo json_fail to fail_json 8 years ago
Fabian Fülling eaa7e717a2 Fixes #2039 Convert None to 0 when checking if ELB cookie expiration has changed 8 years ago
toshihisa 7fee8a78c9 One more bug yum non English locales
d7fac82f97
8 years ago
Toshio Kuratomi 4c40886814 Remove the ignore_ohai and ignore_facter parameters as the functionality was merged into gather_subset 8 years ago
Jonathan Davila f24c3fb40e Clarified IAM module doc 8 years ago
Tobias Wolf 368cf59e4b Add diff and check mode to cron module
supports not writing backup file in check mode and new environment
vars.

![example screenshot](http://i.imgur.com/mkAThq8.png)
8 years ago
Geoff Wright 7b93cd7db2 Fixes: #3232. Use of datetime consistent with module_utils/basic.py 8 years ago
Yannig Perré 02abe0b7c9 Use list type in order to convert directly gather_subset option into list. 8 years ago
Matt Clay b7a5e1e0c8 Add optional connect timeout to mysql* modules. 8 years ago
Yannig Perré 12804a80b6 Add a way to restrict gathered facts in Ansible: - Using gather_subset options - By ignoring ohai/chef or facter/puppet facts 8 years ago
Peter Sprygada e01dd7facc update to nxos_command with additional exception handling
This update adds exception handling to catch errors when trying to parse
command output to json.  It also removes the dependency on importing json
opting to use the AnsibleModule methods instead
8 years ago
Peter Sprygada ae9930f59f doc string fixes for eos_config
This updates eos_config with some fixes to the documentation string
8 years ago
Peter Sprygada ed2d46bc9e bugfix in eos_template for backing up config
eos_template would connect to the remote device to get the running config
for backup even if backup is not needed.
8 years ago
Peter Sprygada 12bb95b943 minor function clean ups in eos_command
This commit cleans up a couple of functions and removes the json
import to use the json methods from AnsibleModule
8 years ago
jrk07 ca86923eb7 Doc Update: ios_template.py title and example
ios_template.py was named ios_config when viewing docs.  The examples also had net_config still.  Updated those here.
8 years ago
David Hocky d6e32b8245 add explicit type for scheduler hints 8 years ago
David Hocky 3b800f1f34 port 'scheduler_hints' feature from nova_compute to os_server module 8 years ago
Joao Carreira 92d76e8828 added support for sles 10 & 11 8 years ago
Peter Sprygada 1fd5989b9d initial add of ops_command module
This commit adds a new module, ops_command, that handles executing commands
on OpenSwitch over the CLI.  Since this module is designed to work with the
OpenSwitch CLI, it only supports the CLI transport option
8 years ago
Peter Sprygada 9488617d19 initial add of ops_config module
This commit adds a new module, ops_config, that allows playbook designers
to create tasks for configuring OpenSwitch over the CLI.  The module
is designed to work directly with configuration mode in OpenSwitch and
therefore only supports the CLI transport option
8 years ago
Neil Saunders 83039b93f0 Fix for issue #3109: Executing ec2_group with rules fails with "Invalid rule parameter '['" 8 years ago
Kenny Gryp 69b07aaf9d added sql_log_bin setting to disable binary logging as option 8 years ago
Nate Brown b891b0c9bc ELB Proxy Protocol support for backends 8 years ago
Joel e3de705d0c Allow us to sort by all available datatypes 8 years ago
Roland Sommer c96d5245f5 add 'only_upgrade' switch to apt module 8 years ago
Peter Sprygada ba41260ae0 bugfix for ios_config module
This commit address a bug in the ios_config module when using the
match: strict argument.  When the argument is used, the module will
compare the configuration block same as match: exact which is not the
intended behavior.  This commit updates the behavior to propertly handle
the strict argument.
8 years ago
Peter Sprygada 761724f5c3 bugfix for handling match=strict in eos_config
Resolves an issue where match=strict would act like match=exact when
evaluating the configuration
8 years ago
Peter Sprygada 7cd3793128 bugfix for handling match=strict in iosxr_config
Resolves an issue where match=strict would act like match=exact when
evaluating the configuration
8 years ago
Peter Sprygada b0a9308e0d bugfix for handling match=strict in nxos_config
Resolves an issue where match=strict would act like match=exact when
evaluating the configuration
8 years ago
Brian Coca 90650256ef fixed exit json 8 years ago
Matt Martz e4a88eeebe Fix synchronize docs to indicate the correct default for use_ssh_args 8 years ago
Brian Coca 9e0aef8ea2 docs updates and fixes
fixes http://github.com/ansible/ansible/issues/14876
8 years ago
Schlueter 734811910e Add missing quote in docker documentation 8 years ago
Brian Coca 9084e31979 fixes to assemble
now uses atomic move to avoid data corruption
correclty cleans up temp files in every case
returns backup_file info if needed
validate validate before temp file gets created
backup AFTER validate
8 years ago
Matt Martz ad9c487391 Set version_added to 2.1 for autoremove. Fixes #3200 8 years ago
Dag Wieers 20b7757032 Ensure that a download failure is properly raised before the read fails
Without this change, a download failure may bail out with the message:

    "Failure downloading http://foo/bar, 'NoneType' object has no attribute 'read'"

whereas with this fix, you'd get a proper error like:

    "Failure downloading http://foo/bar, Request failed: <urlopen error [Errno 113] No route to host>"

or one of the many other possible download errors that can occur.
8 years ago
Matt Martz b4bab770f6 pip module should call exit_json for absent as well (indentation error) 8 years ago
Matt Martz fe22ee9423 Don't pass follow_redirects to fetch_url, use module.params instead 8 years ago
Brian Coca b61d531dfc corrected typo on aws connection arguments var 8 years ago
Terry Howe a06b07221d Fix openstack module documentation 8 years ago