Commit Graph

36039 Commits (0b0bb65198fcb4e2e1c2974bca2cc8b5071e4ae2)
 

Author SHA1 Message Date
Matt Martz 0b0bb65198
Backport #36372 for 2.5 (#37666)
* Fix name parameter templating in include_role module (#36372)

An IncludedFile() object built using the original_task will have
its _task bound to the original_task. The iterative reassignment of
original_task._role_name during with_item loops leaves all returned
included_files with the same ._task._role_name (the final name from
the with_items list). This commit builds IncludedFile() objects
from an original_task.copy() to avoid the problematic binding.

(cherry picked from commit 54e70fc783)

* Test include role with items in name #36372 (#37001)

* Tests for #36372

* Tests for #36372

* Tests for #36372

(cherry picked from commit 8c4f349743)

* Add changelog for #36372
8 years ago
Matt Martz 687780323a
Backport #37881 for 2.5.1 (#37937)
* Don't overwrite builtin jinja2 filters with tests (#37881)

* Don't overwrite builtin jinja2 filters with tests. Fixes #37856

* Fix tests and other callers of _get_filters

(cherry picked from commit 1f824bd620)

* Add changelog for #37881
8 years ago
Matt Martz e33f1777fe
Backport #37646 for 2.5 (#37653)
* Fix py3 issue in wait_for_connection (#37646)

(cherry picked from commit 6c3e565ba3)

* Add changelog entry for #36470
8 years ago
Alicia Cozine 617d156eac revises network portion of 2.5 porting guide (#37938)
* revises network portion of 2.5 porting guide
(cherry picked from commit b72960fdd4)
8 years ago
scottb 2604832858 Fixes scrolling issue without breaking header nav (#37864)
(cherry picked from commit 3554e2c2d9)
8 years ago
Matt Davis 4b406de19a pick up missing plugin docs boolean coercion backport 8 years ago
Dag Wieers f237508caa Fix nested parameters in module docs (#37793)
(cherry picked from commit 69c0f96112)
8 years ago
Matt Davis 44d3bcbc6f re-sort unified RPM changelog 8 years ago
Matt Davis 2c2dd1a1b3 New release v2.5.0 8 years ago
Matt Davis a57a2e1d4f sync old changelogs 8 years ago
Matt Clay 2665912356 Fix docker_secret test on RHEL.
(cherry picked from commit f1899f784b)
8 years ago
Matt Clay 6b0b4ddf00 Pin httptester SHA.
(cherry picked from commit 8232c95f42)
8 years ago
Matt Clay 61887e7c2f Fix uri test on Python 2.6.
(cherry picked from commit 1fd9a616a4)
8 years ago
Matt Davis 144e5ae65a New release v2.5.0rc3 8 years ago
Dag Wieers 3b1df95798 Various module doc fixes (#37256)
This PR includes:
- A fix for multiple-choice defaults
- A fix for messed up dictionary samples
- Cleaner defaults when they don't appear part of choices
(cherry picked from commit 80ba7b7402)
8 years ago
Sebastian Gumprich 20fcaeb854 fix spelling mistakes in several modules (#36296)
* fix more spelling mistakes

* fix spelling mistakes

(cherry picked from commit 16c564c4b4)
8 years ago
Robert de Bock 2f8a851b44 Update porting_guide_2.5.rst
A fix to a minor typo. ("Previouslu" -> "Previously")

 label: docsite_pr
(cherry picked from commit 0cf2ecbc62)
8 years ago
Matt Clay 5ebce3e618 Disable failing github_issue integration test.
(cherry picked from commit 30bb70cf2d)
8 years ago
Dag Wieers 1381de72d0 Backport of ACI document changes (#37502)
* Backport of ACI document changes

* Add missing test change
8 years ago
René Moser 934462a5db terraform: fixed typo, name error sdtout -> stdout (#37253) (#37270)
(cherry picked from commit 3bf6c50fa9)
8 years ago
Ricardo Carrillo Cruz b8c6adbe18 Add a note to iosxr_(command|config|facts) stating netconf is not supported (#37401)
(cherry picked from commit ed3dcae0b8)
8 years ago
Ondra Machacek 9f02fea15b ovirt_vms: Pass correct VM entity to create method (#37460) 8 years ago
Toshio Kuratomi 8d7fe469ea Clarify the apt module force documentation (#37353) (#37491)
The force parameter is inherently insecure.  Be clearer in the
documentation that this is the case.

Fixes #25242

(cherry picked from commit 5bdc8fe9f6)
8 years ago
Nathaniel Case 1b3433b969 Raise error when trying to use older iosxr modules with netconf (#37423) (#37480)
(cherry picked from commit 85cc5ea129)
8 years ago
Toshio Kuratomi c264061272 Bkprt conn err msg no template (#37381)
*  Connection error messages are unsafe: wrap them (#37329)

* Check that connection error msg are not unsafe

* Connection error messages are unsafe: wrap them

For example, in case of error, docker connection plugin returns exception
message containing Go template. These messages weren't tagged as unsafe
and were consequently rendered:

The conditional check 'result is failed' failed. The error was:
{
  'msg': u'Docker version check ([\'/usr/bin/docker\', \'version\', \'--format\', "\'{{.Server.Version}}\'"]) failed: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.35/version: dial unix /var/run/docker.sock: connect: permission denied\n',
  'failed': True
}:
template error while templating string: unexpected '.'.
String: Docker version check (['/usr/bin/docker', 'version', '--format', "'{{.Server.Version}}'"]) failed: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.35/version: dial unix /var/run/docker.sock: connect: permission denied

(cherry picked from commit 4378542ac7)

* Add a changelog for the no-template error message fix
8 years ago
Toshio Kuratomi 36186c3a04 Bkprt onyx tmp file (#37358)
* issue:36955 remove creating temp file for debug

Signed-off-by: Samer Deeb <samerd@mellanox.com>
(cherry picked from commit 9031533c0c)

* Add changelog fragment for the onyx tempfile issue
8 years ago
Adrian Likins c47401463d issue:36955 remove creating temp file for debug (#37373)
Signed-off-by: Samer Deeb <samerd@mellanox.com>
(cherry picked from commit 9031533c0c)
8 years ago
Adrian Likins 9ff46ca52f Fix ansible_lo being used inside of ansible_facts (#37360)
The logic was keeping ansible_facts['ansible_lo'] instead of fixing it
to be ansible_facts['lo']

(cherry picked from commit 31878ee0ea)
8 years ago
Matt Davis 0a2db12370 fix changelog yamllint failure 8 years ago
Matt Davis 482e204afa fix RPM dist/repotag labeling 8 years ago
Matt Davis d6127361d3 fix changelog_aggregate task name in Makefile 8 years ago
Matt Davis aa1c4a0de2 asciidoc comment fix 8 years ago
Matt Davis cc46e752e0 replace VERSION usage in man generation
* VERSION no longer exists, use lib/ansible/release.py instead as  sentinel file for staleness check
8 years ago
Matt Davis 573c53fd00
remove stale VERSION file (no longer needed) 8 years ago
Matt Davis 2ee6a85463 New release v2.5.0rc2 8 years ago
Matt Davis de039e914f version_helper sanity fixes 8 years ago
Matt Davis 643fe472e7 2.5.0rc2 changelog catchup/cleanup 8 years ago
Matt Davis 1258bf57e6 Dynamic RPM/DEB versioning
* still partially WIP
8 years ago
Toshio Kuratomi 24d98f9e70 Porting guide (#37226) (#37228)
* Add the lookup plugin strictness to the porting guide

* Edited for clarity.

* Wordsmithing.

(cherry picked from commit fafcb3452f)
8 years ago
Abhijeet Kasurde 05b3b73185 Fixes commit a28eb94, which broke validate_certs = False for python < 2.7.9 (#34887) (#37018)
(cherry picked from commit ce416f247f)
8 years ago
Abhijeet Kasurde 1842e34a73 DigitalOcean: typecast map function for Python3 (#37168)
In Python2, `map` returns list whereas Python3, `map` function
 returns iterator. This fix typecast map function for Python3.

Fixes: #37114

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
(cherry picked from commit 8f3f7f104f)
8 years ago
Sam Doran e02b237649 Do not try to add an entry if none exist (#37152) (#37213)
When commit revisions are disabled, there will be no revision items returned.
Add note about setting ANSIBLE_PERSISTENT_COMMAND_TIMEOUT to a higer value to avoid timeouts.

(cherry picked from commit 3134ba6bee)
8 years ago
Jordan Borean acef6d25b1 powershell: backport environment string handler fixes 2.5 (#37223)
* win: handle non string as an environment value (#37215)

* win: handle non string as an environment value

* Changed powershell environment handler to use .net function instead for special chars

(cherry picked from commit 708869edd6)

* Added changelog fragement for powershell environment handler fix

* typo in changelog
8 years ago
Toshio Kuratomi 044aa1cb73 Fixing module docs so they dont show up as a list on ansible docs. (#37203) (#37218)
* Fixing module docs so they dont show up as a list on ansible docs.

* Fixing spacing in description.

(cherry picked from commit df0f9d1d91)
8 years ago
John R Barker 4df0be4b1b stable-2.5 docs in sync with devel (#37214) 8 years ago
René Moser 9e315f15ee
cs_instance: fix py3 user_data base64 (#37135) (#37199)
* cs_instance: tests: reproduce py3 user_data base64 issue

* cs_instance: fix base64 encoding with py3

(cherry picked from commit 0130490faa)
8 years ago
René Moser 51bf373fd1
vultr: fix py3 compat (#37171) (#37195)
* vr_server: fix base64 encoding with py3

* vultr: fix AttributeError with py3

(cherry picked from commit 4b6b2d4206)
8 years ago
Abhijeet Kasurde 4477ce809f VMware: Re-enable VM poweroff testcases (#36734) (#36765)
This testcases were failing due to vcsim version.

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
(cherry picked from commit 87d6bdaf98)
8 years ago
flowerysong bb3cbac738 Backport #36685 for stable-2.5 (#36686)
* zfs: Fix handling of parameters passed via check_invalid_arguments

cc7a5228 had a typo, so the merged set of arguments was shoved into the
wrong parameter and ignored.

`origin` is an actual module parameter and should be processed like one.

pop()ing makes debug output misleading.

* zfs: fix command generation for `zfs snapshot`

Creating a snapshot and supplying an origin are mutually exclusive,
but were not treated as such. We should throw an error instead of
running an invalid command (`zfs snapshot origin foo@snapname`.)
8 years ago
Abhijeet Kasurde fb8a9d4e79 VMware: Add missing state param in argument spec (#36339) (#36487)
This fix adds missing argument parameter called 'state'
and its documentation.

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
(cherry picked from commit 77b903bd85)
8 years ago