Commit graph

33386 commits

Author SHA1 Message Date
Gianluca
07a1217aa7 Fixes #33771 - win_iis_webapppool bugfix (#33777)
* Fixes #33771

* Fixes #33771 - mod 1

* removed some unneeded whitespace

(cherry picked from commit 1d10a2867c)
2017-12-13 16:35:23 +10:00
Matt Martz
926dfb7c04 Add test for clean_copy preservation of keys
(cherry picked from commit 5c63bb0090)
2017-12-12 14:27:41 -06:00
Adam Miller
74de512bfc remove unnecessary extra conditional (thanks bcoca)
Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>
(cherry picked from commit 7bc7c347dd)
2017-12-12 13:09:25 -05:00
Brian Coca
5067a1340a always preserve certain keys (#33637)
* always preserve certain keys

fixes #33433

* results

(cherry picked from commit 8d78a829c6)
2017-12-12 13:05:38 -05:00
Jordan Borean
5fb97aa6c9 Updated changelog for windows fetch fix 2017-12-12 15:01:30 +10:00
Jordan Borean
39f590523f Fix fetch when retrieving a file with a multiple of the buffer size (#33697)
* Fix fetch when retrieving a file with a multiple of the buffer size

* fixed sanity issue

(cherry picked from commit 6e4c690a37)
2017-12-12 15:00:43 +10:00
Toshio Kuratomi
109471cb7f Remove files from legacy that pass now that W503 is ignored 2017-12-08 11:28:39 -08:00
John R Barker
c7a903c34b Ignore W503 in stable-2.4 (#33716)
* Ignore W503

To avoid backporting from devel (2.5) to 2.4 any code that may fail pep8
backport the current-ignore change.
2017-12-08 10:45:10 -08:00
Toshio Kuratomi
298255095d Fix Command module documentation
The command module docs were unclear.  They talked about ignoring the user's environment which lead people to believe the user's environment variables were not used.  In actual fact, the user's environment variables are used.  They just are not expanded in the command.

(cherry picked from commit 824ec37a4f)
2017-12-08 10:07:21 -08:00
s-hertel
6a6ae0cede loop doesn't exist in 2.4 2017-12-08 09:53:51 -08:00
Toshio Kuratomi
132d6fe78c Add environment on loop fix 2017-12-08 07:22:54 -08:00
Sloane Hertel
f2bf74991e Fix using loops with environment and add tests (#32796)
(cherry picked from commit 7bb35e8781)
2017-12-08 07:22:11 -08:00
Toshio Kuratomi
dc788f1377 Add ansible_python_interpreter fix to changelog 2017-12-08 07:01:46 -08:00
Toshio Kuratomi
5435c7a9cb Add letsencrypt python3 fix to changelog 2017-12-07 17:22:38 -08:00
bverschueren
c1567c0222 python3 support for letsencrypt module (fixes #30690) (#32734)
*   python3 support for letsencrypt module (fixes #30690)
  * initialize result to a dict in some methods to prevent 'NoneType is not iterable' TypeError
  * use dict.get() to retrieve values from info dict to prevent KeyError
  * convert to/from text/bytes using _text methods for PY3 support

(cherry picked from commit 3a634058f3)
2017-12-07 17:21:59 -08:00
Andreas Olsson
aaf7bf8fc9 Only expose rekey options to ansible-vault command
`ansible-vault` is the only cli command which knows how to handle the
rekey options `--new-vault-id` and `--new-vault-password-file`. No
point in exposing those rekey options to any of the other ansible
commands.

On a practical level I think this matters most in ensuring that
`--help` doesn't produce any false/unhelpful output.

(cherry picked from commit b78ab37a94)
2017-12-07 11:49:44 -05:00
Brian Coca
fcd6731113 report correct file for callback
(cherry picked from commit d850992526)
2017-12-07 11:30:02 -05:00
Toshio Kuratomi
07021a36fe New release v2.4.3.0-0.1.beta1 2017-12-06 13:06:08 -08:00
Jordan Borean
e4c2872b7f updated changelog with win_copy fix 2017-12-07 06:57:18 +10:00
Alexey Shumkin
b9fc9adc44 fixed: win_copy failure from a VirtualBox share to a local path (#33576)
(cherry picked from commit f13656782a)
2017-12-07 06:56:44 +10:00
Toshio Kuratomi
2627b3153e Add nxos fix to changelog 2017-12-06 12:28:11 -08:00
Trishna Guha
4550dbc9dc nxos_vrf_interface fix (#33249)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
(cherry picked from commit 7b19c28438)
2017-12-06 12:26:34 -08:00
Brian Coca
f78a60aaa6 ensure quote runs on text
fixes #33260

(cherry picked from commit 65ffb92bff)
2017-12-06 12:17:43 -08:00
Toshio Kuratomi
ef7cea1f89 Update changelog for more bugfixes 2017-12-06 12:17:18 -08:00
Trishna Guha
790e290b6b loopback doesn't support passive_interface (#33252)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
(cherry picked from commit 25a465ffcb)
2017-12-06 12:08:10 -08:00
Brian Coca
8b05ac687c correctly document random doc range (#33308)
* correctly document random doc range

fixes #33226

* Edited for clarity.

(cherry picked from commit 08f1d1972e)
2017-12-06 12:04:59 -08:00
Jiri Tyr
de6b3eff4e Unifying wording and formatting of all include and import modules (#31938)
* Unifying wording and formatting of all include and import modules

* Changes based on comments from dharmabumstead

* Removed instances of the term ‘Ansible Engine’

* Removed instances of term ‘Ansible Engine’

* Updated term

* Updated wording

* Updated wording

* Removed the term ‘Ansible Engine’

(cherry picked from commit 283fee90a7)
2017-12-06 12:03:26 -08:00
Toshio Kuratomi
5c8423658a Add changes to changelog 2017-12-06 11:55:05 -08:00
Andreas Olsson
e295a93f07 Add --vault-id support to ansible-pull
Without this additional code snippet `ansible-pull` will still accept
the `--vault-id` option. It just won't pass the option along when
invoking `ansible-pull`.

(cherry picked from commit 7bd54a51e2)
2017-12-06 11:53:19 -08:00
Zbigniew Jędrzejewski-Szmek
d4be600328 Add dnf and yum commands in "Installation" section (#33369)
* Add dnf and yum commands in "Installation" section

Even though the command is very simple, it's good to be able to c&p it.
There were already commands for apt, emerge, pip, even direct installation
from git, so adding Fedora/RHEL/CentOS examples is reasonable.

Since yum is not installed by default on any supported Fedora releases
(F26 and F28 currently), recommend dnf.

* Tiny edit

(cherry picked from commit 4c29396217)
2017-12-06 11:52:40 -08:00
Robert de Bock
cd246d0f45 Update github_release.py (#33390)
Documentation fix. The module "github" does not exist.

(cherry picked from commit 81ea114bff)
2017-12-06 11:50:51 -08:00
Patrick Ogenstad
3608c708ea Fix 'save' parameter in asa_config (#32761)
(cherry picked from commit 53c5e5bf5a)
2017-12-06 11:49:14 -08:00
Martin Krizek
c40dff2108 Add free strategy fix to the changelog 2017-12-06 11:40:10 -08:00
Martin Krizek
ada8453271 Fix include in loop when stategy=free (#33094)
(cherry picked from commit 3a2a1e054f)
2017-12-06 11:40:09 -08:00
Matt Clay
60bf72d69e Limit pytest < 3.3.0 for python 2.6.
(cherry picked from commit 58286ef93b)
2017-12-05 22:27:16 -08:00
Matt Clay
2b9dd23377 Limit paramiko to < 2.4.0 for python 2.6.
(cherry picked from commit 5f5e150771)
2017-12-05 22:27:11 -08:00
Matt Clay
c422d7a8c6 Update FreeBSD completion for ansible-test.
(cherry picked from commit 73132d3906)
2017-12-05 21:32:43 -08:00
Matt Clay
b336c06a42 Update FreeBSD versions used in CI.
(cherry picked from commit 6988d32da2)
2017-12-05 20:41:26 -08:00
Sam Doran
bcbc9fcf31 Update CHANGELOG 2017-11-30 16:19:28 -05:00
Jacek Tomasiak
6a67aee3da Add python level locale handling back (#31339)
locale.setlocale() call removed in 6b5291d68f150c629e9958bb6e910b529b0d8cef
is actually needed by time.strptime(). AnsibleModule() changes both: environment
variables and python level locale settings so both need to be reset.

(cherry picked from commit fd4a6cf7ad)
2017-11-30 16:15:39 -05:00
Martin Krizek
5340da2a7d selinux: check if policy exists before switching (#31834)
* selinux: check if policy exists before switching

* Check the policy dir

(cherry picked from commit 0592fd47bc)
2017-11-30 16:10:36 -05:00
R. Francis Smith
f0741ecaa0 updated pamd rule args regexp to match file paths also (#33432)
* Added . and / to rule args regexp

Things like pam_echo.so file=/etc/foo.txt weren't being matched and
causing incorrect change counts.  Adding / and . fixed that.

Fixes #33351

(cherry picked from commit e957760d52)
2017-11-30 16:02:39 -05:00
Toshio Kuratomi
e3a8bf02ac New release v2.4.2.0-1 2017-11-29 12:18:56 -08:00
Toshio Kuratomi
5d5b5d5a80 Update version info for the 2.4.2 release 2017-11-29 12:08:24 -08:00
Toshio Kuratomi
880cb223b7 New release v2.4.2.0-0.5.rc1 2017-11-22 18:52:54 -08:00
Toshio Kuratomi
f10404335d Add last minute bugfixes and doc updates for rc1 2017-11-22 18:36:01 -08:00
Mike Wiebe
9845e5a018 Use show command to support wider platform set for nxos_interface module (#33037)
* Use show command to support wider platform set

* Fix unit tests

(cherry picked from commit 95a2140f4b)
2017-11-22 18:28:17 -08:00
Strahinja Kustudic
b0e5e108dd Add changes to succeeded/failed tests to the 2.4 porting guide (#33201)
* Add changes to succeeded/failed tests to the 2.4 porting guide

* Edit for grammar and clarity

(cherry picked from commit 673ec2cb78)
2017-11-22 18:27:07 -08:00
Josh Soref
85fa06713d Docs (#32718)
* Windows

* Oxford comma

* defaults to

* periods

* none in see also
* after etc.
* at end of definition
* not doubled

* Ansible

* authenticate

* verifies your

* to configure

* past tense agreement

* Spelling: CoreOS

* only use instead once

* backticks for file path

* not to be

* onward
2017-11-22 14:50:45 -08:00
Matt Clay
5fa8480a61 Use an abspath for network inventory ssh key path.
(cherry picked from commit 1ee511f82c)
2017-11-22 11:11:58 -08:00