Commit Graph

36214 Commits (0d83a0a888c4ef3a5f2aa3a3b61bb9a75239bc53)
 

Author SHA1 Message Date
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
7 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)
7 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)
7 years ago
Matt Davis 0a2db12370 fix changelog yamllint failure 7 years ago
Matt Davis 482e204afa fix RPM dist/repotag labeling 7 years ago
Matt Davis d6127361d3 fix changelog_aggregate task name in Makefile 7 years ago
Matt Davis aa1c4a0de2 asciidoc comment fix 7 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
7 years ago
Matt Davis 573c53fd00
remove stale VERSION file (no longer needed) 7 years ago
Matt Davis 2ee6a85463 New release v2.5.0rc2 7 years ago
Matt Davis de039e914f version_helper sanity fixes 7 years ago
Matt Davis 643fe472e7 2.5.0rc2 changelog catchup/cleanup 7 years ago
Matt Davis 1258bf57e6 Dynamic RPM/DEB versioning
* still partially WIP
7 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)
7 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)
7 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)
7 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)
7 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
7 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)
7 years ago
John R Barker 4df0be4b1b stable-2.5 docs in sync with devel (#37214) 7 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)
7 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)
7 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)
7 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`.)
7 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)
7 years ago
Felix Fontein d06f8dda3b Using correct content type (as per version 10 of ACME draft). (#37165) (#37190)
* Using correct content type (as per version 10 of ACME draft).

* Another incompatibility with ACME v2: body must be {} and not contain v1 data (Pebble fails otherwise).

(cherry picked from commit 155adb1631)
7 years ago
David Newswanger 7213d0017b
fix NIOS DNS lookup example (#36737) (#37139)
(cherry picked from commit 905b3e2f65)
7 years ago
Trishna Guha 2e145cd1f2
fix nxos_switchport/l2_interface trunk_vlans state absent (#37180) (#37181)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
(cherry picked from commit 02999b77a4)
7 years ago
John R Barker 934d1df0d1
2.5 network changelog (#37179)
Add details of major Network features added in Ansible 2.5
7 years ago
John R Barker e6effb32b8
Update developing_api.rst (#37108) (#37178)
Fix for #17716 and #36110
(cherry picked from commit 19f92005b9)
7 years ago
René Moser 193687851b
cs_instance: fix error when state destroyed but querying user_data (#37175)
(cherry picked from commit 190d3fbbed)
7 years ago
John R Barker bfceaf696c
yum is Python 2 only. If Python 3 use dnf (#37140) (#37172)
* PY3 = dnf

Red Hat are unlikely to provide a Python 2 version of the yum bindings
as they are moving to `dnf`.

If Ansible can't find the yum Python library give the user a hint about
dnf and Python 3

(cherry picked from commit 6c8d40f653)
7 years ago
Toshio Kuratomi 0fd9c9b014
Bkprt unarchive fix (#37159)
* Fix unarchive with strip-components in extra_opts (#37048)

* Fix unarchive with strip-components in extra_opts

When unarchive is given extra_opts to strip all leading directories, it
could end up trying to change the permissions on the root directory.
Tar archives shouldn't contain absolute paths anyways so make sure that
all paths are relative as we handle them.

Fixes #21397

(cherry picked from commit cca0ccaf97)
7 years ago
Jordan Borean 09de6dc020
win_uri: backport return value fix for non 200 responses (#37156)
* win_uri: return response info on non 200 responses, convert DateTime values to ISO 8601 (#37104)

(cherry picked from commit c1f5e11cdf)

* Added changelog fragment for win_uri return value fix
7 years ago
Matt Martz 3b1be8d881
Backport #37151 for 2.5 (#37154)
* Add ansible-config and ansible-inventory to setup.py scripts (#37151)

(cherry picked from commit bd43776acf)

* Add changelog entry for #37151
7 years ago
René Moser f230d8e9c4 cs_router: fix missing doc (#37107)
* cs_router: fix missing doc

* update ignore.txt

(partly cherry picked from commit e1297af18a)
7 years ago
René Moser c054527d65 cs_ip_address.py: fix missing doc (#37109)
* cs_ip_address.py: fix missing doc

* update ignore.txt

(partly cherry picked from commit 67d8c8f5c6)
7 years ago
Anil Kumar Muraleedharan 895d9abd7b 2.5lenovo license update (#37118)
* Syncing with the latest License information in main branch

* Adding License to 2.5 branch
7 years ago
René Moser 0c4d8a9ce5 cloudstack: fix common E324 in docs (#37082) (#37119)
Notes about precedence of common args.

(partly cherry picked from commit 2559e832df)
7 years ago
Trishna Guha ee67c6c1e3
fix nxos_l2_interface tests for fretta (#37086) (#37101)
(cherry picked from commit b7bc61c7df)
7 years ago
TJ Tang 4bb5f40e99 Fixes #37042 (#37044)
* correctly check that the no_device attribute is specified
 * ignore volume_size requirement if no_device is specified
7 years ago
Nathaniel Case 2be960f84a
Don't fail on configure in command (#37094)
* Don't fail on configure in command

* Change test to check mode

(cherry picked from commit efb8b539c1)
7 years ago
Nathaniel Case b1f8fd7edb
Fix side-effect of flags being passed to ios get_config again (#37084) (#37085)
(cherry picked from commit f0dc0b28d4)
7 years ago
Jordan Borean 33773624fb
win_wait_for: fix local port check on port not accessible externally (#37093)
* win_wait_for: use loopback IP instead of hostname if 127.0.0.1 is used (#36762)

* win_wait_for: use loopback IP instead of hostname if 127.0.0.1 is used

* removed reverse dns lookup in port check

(cherry picked from commit 67ffde4ac1)

* Added changelog for win_wait_for local port fix
7 years ago
Jordan Borean f0a808e02c Win lineinfix fix (#36888)
* Win lineinfile fix (#35100)

* win_lineinfile: fix #33858. Removed conversion from \r\n

* win_lineinfile: added test for #33858

* win_lineinfile: added documentation and more tests for change

* win_lineinfile: fixed wrong hash in testing

(cherry picked from commit e15a903bdf)

* Added changelog for win_lineinfile fix

* fix typo in changelog
7 years ago
John R Barker 471e75a019
Fix consul module service deregistration (#34847) (#37089)
* Fix consul module service deregistration

Upstream pr in the python-consul library:
https://github.com/cablehead/python-consul/pull/174

This is based on work from https://github.com/bobh

Fixes ansible/ansible#34628

* Pass ACL token when deregistering consul service

(cherry picked from commit c9cb0016a0)
7 years ago
Toshio Kuratomi 4ad30ad9b5 Clarify Docker SDK rather than Docker API 7 years ago
Toshio Kuratomi 111c2d6c1f Add a changelog fragment for the docker 3 api changes. 7 years ago
John R Barker fccb6962fe
Network modules to link to network guide (#37033) (#37069)
* Network modules to link to network guide

* Make it clear what's deprecated
* enable -> become
* Detail when provider is still needed (eAPI/NX-API)
* Link to specific sections
* rx_rate & tx_rate to link to conditional docs

(cherry picked from commit ebc71bcb16)
7 years ago
Chris Houseknecht c2cc6e4ac8
Add compatibility for docker-py version 3 (#36973) (#37071) 7 years ago