summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* backport of htpasswd fix from @jamesbraidstable-2.2Brian Coca2017-06-221-4/+4
| | | | see https://github.com/ansible/ansible/pull/20202
* backported opensbsd fixBrian Coca2017-05-221-2/+2
| | | | | | copy of http://github.com/ansible/ansible/commit/2e392f47c891f03f6bf685b2fa1353fcf3b7208f (cherry picked from commit 59f385fc6aaca5c9b5283e16fe38ffc47d627c70)
* New release v2.2.3.0-1James Cammarata2017-05-091-1/+1
|
* Backporting fixes#5534 to support 2.2 (#5909)Dhivyap2017-04-173-18/+65
|
* bug #21661 (#5908)abirami-n2017-04-131-34/+45
|
* Backporting fixes#21557 to 2.2 support (#5907)Dhivyap2017-04-131-7/+8
|
* Fix fanout issue for OS10 10.2.2 release (#5904)Senthil Kumar Ganesan2017-04-131-10/+12
|
* Fix src in bracket format for vyos_configNathaniel Case2017-04-051-0/+2
|
* New release v2.2.3.0-0.1.rc1James Cammarata2017-04-031-1/+1
|
* Update requirements for seboolean module (fixes #23028)Jeremy L. Gaddis2017-03-291-1/+1
| | | | (cherry picked from b52dbddc176f2babc6632095d655fe1e60fc7a21)
* cron: don't force changed=True when old crontab was emptyEvgeni Golov2017-03-281-1/+1
| | | | | | | | | | | | | | | | | | The cron module forces changed=True when there was no real change, but the original crontab did not contain a final newline, which is mandatory. When the user has no crontab or the user does not exist at all, crontab -l exits with 1 and the cron module correctly interprets this as "no crontab" and stores the old crontab as "". However this triggers changed=True, even if we're not going to change anything, e.g. when removing a crontab entry from a user who has no crontabs at all. Let's special-case the fact that the old crontab is empty and not force changed=True in that case. (cherry picked from 61579aebb2bf18dce76c1c39b33a0d7f33ed7073)
* Fix for python 2.4 compatibility (#5693)Evan Kaufman2017-03-281-2/+3
| | | | | Fixes #5692 (cherry picked from 580c74140a9d8109d4fa44e372895ea4e5ed4ee4)
* New release v2.2.2.0-1James Cammarata2017-03-271-1/+1
|
* Import get_exceptionToshio Kuratomi2017-03-221-0/+1
| | | | Fixes #22853
* New release v2.2.2.0-0.2.rc2James Cammarata2017-03-031-1/+1
|
* * Fixes #21316Toshio Kuratomi2017-03-021-5/+10
| | | | | | | | | * Add option `--branch NAME` to git clone command in case of branch or tag in combination with depth=1 * This option should work back to at least git 1.8 and thus on all supported distributions * Provide better warning if depth is dropped (cherry picked from 3afc993f3a5774f61b6a9b6ed4ea1136821f91ef)
* New release v2.2.2.0-0.1.rc1James Cammarata2017-02-211-1/+1
|
* Fix 'yum skips updates' bug (#21113)Adrian Likins2017-02-161-16/+51
| | | | | | | | | | | | | | | | | | | | | | When the 'yum check-update' output is parsed, the regex used to stitch wrapped lines together would fail on the first package. It would fail because there is an empty line before the first package, and this triggered the regex. To avoid a more complicated regex, preprocess the check-update output to strip out any empty lines. The regex is also updated to include a group on the non whitespace match to be used in the sub. Add test cases based on info provided in the bug reports. Fixes #20608 (backport of commit e511326222c908f8879f1283571234eda14f5471 from ansible/ansible) (cherry picked from commit 86c36e5e526b2aa9a14f0a462e7caf4adca41e8f)
* Add status_code & failed:false when status==200 (#21457)Benjamin JOLIVOT2017-02-151-1/+1
| | | | | | | * Add status_code & failed:false when status==200 * remove failed=false, it's broking tests (cherry picked from 9baf95bcc43dae04e6d92ed70e53f45767c564a6)
* Fixing nxos_feature when transport is cliGGabriele2017-02-151-21/+1
|
* Fixing nxos_portchannel bug caused by wrong regex (#20850)Gabriele2017-02-141-1/+1
|
* Fixing nxos modules when interface is loopback (#20645)Gabriele2017-02-142-1/+6
| | | | | | * Fixing modules when interface is loopback * Remove capitalize
* Mask login_password in log (#21199)Tatsuya Hoshino2017-02-092-2/+2
| | | | (cherry picked from 41f3680dfdbd034)
* apt_repository: check for enabled repositories correctlyMarius Gedminas2017-02-071-2/+3
| | | | | | | | | | | | | | | | | | | Fixes #20754. Details: UbuntuSourcesList.add_source() had a quick check for PPAs being already present in the source lists. The check was looking for the PPAs URL to be present in self.repo_urls, which should contain all valid and enabled repositories. The enabled check in repo_urls was incorrect. It was checking the tuple's 2nd item (which means "valid") and ignoring the 3rd item (which means "enabled"). self.files contains tuples (line_number, valid, enabled, source_line, comment_text). Ideally it would be using named tuples instead of indexing, to avoid bugs like that, but Python 2.4 didn't have named tuples, so we can't do that (yet). (cherry picked from 577d0e43ba339788989ecdf9a9da97477596ec6d)
* Revert "Revert "fix urlparse usage in cloud.amazon module to be compatible ↵Matt Clay2017-02-061-1/+1
| | | | | | with python3"" This reverts commit d403c1cdcc8dffb46241df42a5bf2b7c8d50fc95.
* Revert "fix urlparse usage in cloud.amazon module to be compatible with python3"Matt Clay2017-02-061-1/+1
| | | | This reverts commit fbf0346597f6c7505befd1875cec40c978f8ffc1.
* added moule to match plugin already in 2.2Brian Coca2017-02-061-0/+69
|
* fix urlparse usage in cloud.amazon module to be compatible with python3Toshio Kuratomi2017-02-061-1/+1
| | | | (cherry picked from d67cbaa274a06c8eb4214d9e8aa1a5749d79a515)
* Fix authorized_key crash in Python3 with remote key file (#20037)James Cooke2017-01-161-0/+4
| | | | | | | * Decode downloaded keys bytes if Python3 * Fixes #20007 * Thanks @georgepsarakis (cherry picked from fafe5bba59163c525b82b6eaf12d0d4627a79bf7)
* Do not use the fstab parameter on openbsd for mounting (#5805)Toshio Kuratomi2017-01-161-17/+34
| | | | | | | | | | | | * Do not use the fstab parameter on openbsd for mounting OpenBSD's mount command doesn't allow selecting which fstab file to use. So if we're operating on the live filesystem (mount or remount) return an error if the user specified an fstab file. Fixes #5591 * Fix the logic inversion (thanks to @landryb)
* New release v2.2.1.0-1James Cammarata2017-01-161-1/+1
|
* New release v2.2.1.0-0.5.rc5James Cammarata2017-01-131-1/+1
|
* New release v2.2.1.0-0.4.rc4James Cammarata2017-01-111-1/+1
|
* corrected service logicBrian Coca2017-01-091-1/+1
|
* New release v2.2.1.0-0.3.rc3James Cammarata2017-01-091-1/+1
|
* backport of service fixBrian Coca2017-01-091-5/+3
|
* fix docs on staticBrian Coca2017-01-091-6/+1
| | | | backport of #19454
* Check the command result status in easy_install plugin (#16519)THEBAULT Julien2017-01-041-0/+2
| | | | (cherry picked from ee1dee08b60feb31282b3402b8b6bff30a599d6c)
* Fix #19189 django_manage bug with python3 filter() returning iterator insted ↵Serhiy Martynenko2017-01-031-1/+1
| | | | | | of list (cherry picked from c7637992fe957a5ebcc6059d99d8bad873a8d8ba)
* git ssh wrapper: py3-compatability with stringstedder2017-01-031-2/+2
| | | | | | | | | | | | | | | | Wrap the fh.write(str) in b() to ensure the string is of the proper type in py2/py3. Otherwise, the following error occurs when using its ssh_wrapper: An exception occurred during task execution. The full traceback is: Traceback (most recent call last): File "/tmp/ansible_8r299r6t/ansible_module_git.py", line 1049, in <module> main() File "/tmp/ansible_8r299r6t/ansible_module_git.py", line 928, in main ssh_wrapper = write_ssh_wrapper() File "/tmp/ansible_8r299r6t/ansible_module_git.py", line 330, in write_ssh_wrapper fh.write(template) TypeError: 'str' does not support the buffer interface (cherry-picked from 15e12d2cf2f3f1449d1b044fd191f0862e19f557)
* Change the keydict object in authorized_keys so it doesn't throw a false ↵Toshio Kuratomi2016-12-141-4/+4
| | | | | | | | | | positive keydict is a bad data structure anyway. We don't use the iteritems and itervalues methods so just disable them so that the code-smell tests do not trigger on it. (cherry picked from 0b440a928908b6b8c973a16f6fc7b26f893cce04)
* Fix UnboundLocalError remote_head in git (#19057)Toshio Kuratomi2016-12-141-21/+14
| | | | | | | | | | | | | | | | | | | | * Fix UnboundLocalError remote_head in git Fixes #5505 The use of remote_head was a leftover of #4562. remote_head is not necessary, since the repo is unchanged anyway and after is set correctly. Further changes: * Set changed=True and msg once local_mods are detected and reset. * Remove need_fetch that is always True (due to previous if) to improve clarity * Don't exit early for local_mods but run submodules update and switch_version * Add test for git with local modifications (cherry picked from afca95739630891d5678d362362877270ae2e80e)
* New release v2.2.1.0-0.2.rc2James Cammarata2016-12-141-1/+1
|
* Remove itervalues (not available on py3)Toshio Kuratomi2016-12-131-2/+2
| | | | (cherry picked from 51491c990444be4153d8d4e07ced00f8af348ddd)
* This is for py3 compatibility, addressed in #18506Andrea Tartaglia2016-12-1269-197/+198
| | | | (cherry picked from ef391a11ec536d0efb1b59e8139735b27b67c67f)
* use 'six' for urlparse compatability (#5777)Ted Timmons2016-12-011-1/+1
| | | | | | * use 'six' for urlparse compatability (cherry picked from commit edcbc2410ab6b90b79f809fc91d4d9ea7f57bb2b)
* systemd: Start inactive units for reload/restartDustin C. Hatch2016-11-301-1/+4
| | | | | | | | | | The `service` module starts services that are not running when `action=restarted` or `action=reloaded`, which is especially convenient for initial deployments because it eliminates an extraneous operation for when the service starts for the first time. This commit adjusts the behavior of the `systemd` module to match. (cherry picked from commit 286021056f9700ab58fae92d03d9555300aef580)
* Fix test failures in win_command/win_shell on Powershell 3Matt Davis2016-11-292-2/+2
| | | | | | Switched to use Exit-Json to avoid JSON escaping bugs in ConvertTo-Json formatter without -Compress option. (cherry picked from commit 6890003c4f8dcd8f63a5b280211068cfaf1dcc35)
* mysql_user: fix user_mod on MySQL(-like) 5.7+ (Fixes #3003) (#5388)Wouter Oosterveld2016-11-291-1/+1
| | | | (cherry picked from commit 30fb384e7fb9a94ac3929e4a650877e45d8834c9)
* added docs for use optionBrian Coca2016-11-241-0/+6
|