Commit Graph

23731 Commits (49f9404cd2bb036d0357fe36ee9104930b3e4446)
 

Author SHA1 Message Date
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