Commit Graph

33640 Commits (ea68bb33d0f520e25de04ab007ec01a8559d8bda)
 

Author SHA1 Message Date
Sviatoslav Sydorenko ea68bb33d0
[backport] Detect separate git dir and set git config path value appropriately
PR #38016

Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
(cherry picked from commit 0a701ff)

Co-authored-by: Senya <senya@riseup.net>
8 years ago
Matt Clay e450722867 Fix uri test on Python 2.6.
(cherry picked from commit 5c124876fa)
8 years ago
Trishna Guha e583d63144
nxos enable mode fix (#39898)
* nxos enable mode fix

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>

* update changelog

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>

* Address review comment

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
8 years ago
George Wilson 9e1ce48b1c Backport part of #33221 (commit: 8fa1373a67) to fix azure functionapp ansible modules fataling due to a bad URL (#36322) 8 years ago
Matt Clay d68900d728 Use HTTPS instead of HTTP for httpbin tests. (#39457)
The httpbin.org site is now redirecting HTTP to HTTPS.

(cherry picked from commit b92ef8e54a)
8 years ago
Matt Clay 169cfbb25b Disable failing tests.
(cherry picked from commit f9ba5bc5e9)
8 years ago
Matt Clay ddc9708557 Update the cloudstack test container reference.
(cherry picked from commit ac1fbbeabc)
8 years ago
Matt Clay 05d6b2086f Fix mysql-server install/upgrade on Ubuntu 16.04. (#39241)
* Fix mysql-server install/upgrade on Ubuntu 16.04.
* Prevent service restart in docker_secret test.

(cherry picked from commit 996f9c2467)
8 years ago
Jordan Borean 74f14ac23d
win_setup: backport 2.4 fix for machine sid to work in domains with lots of users (#39040)
* win_setup: fix for machine sid to work in domains with lots of users (#38646)

(cherry picked from commit 2fc3ac3516)

* Added changelog entry for windows setup.ps1 fix
8 years ago
Matt Clay b34402178e Update httptester container reference.
(cherry picked from commit 35748e5228)
8 years ago
Matt Clay cff1cc6cc8 Restore docker_secret test on RHEL.
(cherry picked from commit 57f1298074)
8 years ago
Matt Clay 2cffb28b3d Disable failing fortios_* tests.
(cherry picked from commit 938625add7)
8 years ago
Matt Clay e985272791 Use new vcenter simulator container location.
(cherry picked from commit 1d5c933ecf)
8 years ago
James Tanner 0ee146fef2 Fallback to the newer object type for dvswitch
(cherry picked from commit 940bf1f627)
8 years ago
John R Barker 00348c3db0
Explicitly exclude W504 (#38539) (#38553)
pycodestyle 2.4 has changed the default for W504
(cherry picked from commit 38491fe93d)
8 years ago
Markos Chandras 608d30ba9b modules: zypper: Optimize the 'search' subcommand (#37191)
When looking for installed packages we do not need to query
repositories since we only care about the rpmdb. As such, we can
disable all the repositories operations in order to improve the
performance of that step

Before this patch, when using 'state: present' in the zypper module,
the operation was taking about 12 seconds to complete:

time ansible-playbook foo.yml 1>/dev/null

real	0m12.614s
user	0m10.880s
sys	0m0.683s

After this patch:

time ansible-playbook foo.yml 1>/dev/null

real	0m4.193s
user	0m2.560s
sys	0m0.575s

see:
https://bugzilla.opensuse.org/show_bug.cgi?id=1084525
(cherry picked from commit 5234b78b5f)
8 years ago
Trishna Guha 9be623dd95
fix nxos_snapshot test assert (#38458)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
8 years ago
Ganesh Nalawade 69f917ab6a Encode xml data to utf8 standard (#34079) (#38259)
(cherry picked from commit 5089122a32)
8 years ago
Toshio Kuratomi f1f8b9f32f Add openssl_certificate python3 fix to the changelog 8 years ago
Toshio Kuratomi 7d91872fbb Add template fix to changelog 8 years ago
Jordan Borean 37901bba41
win_copy: added fix for win_copy deleting local tmp folder (#37978) 8 years ago
Sam Doran 971697052b Update installation docs for RHEL based distributions. (#38055)
Upstream rpms are no longer in Extras but EPEL as well as releases.ansible.com.
Add instructions for adding Ansible Engine repo to RHEL.
8 years ago
Toshio Kuratomi 0adcd7bd1a New release v2.4.4.0-1 8 years ago
Toshio Kuratomi 89c17724fd Update the docs with the 2.4.4 release date 8 years ago
Toshio Kuratomi a2522ac581 New release v2.4.4.0-1 8 years ago
Toshio Kuratomi 2a07da2255 New release v2.4.4.0-0.3.rc2 8 years ago
Toshio Kuratomi 89b681a271 Add changelog entries for nxos_* fixes 8 years ago
Trishna Guha 846bfbf378 add nxos_snapshot test for missing required param (#37248)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
(cherry picked from commit 2501834c42)
8 years ago
Trishna Guha 88bd45b354 fix required args for nxos_snapshot and docs improvement (#37232)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
(cherry picked from commit a10df8b0b5)
8 years ago
Toshio Kuratomi 60c540c29b Add changelog for consul module state=absent fix 8 years ago
Toshio Kuratomi 9dd41cf47c Add changelog entry for jira py3 fix 8 years ago
Tim Werner 07ab4a9d20 make jira authentication Python3 compatible (#33862)
* make jira authentication Python3 compatible

(cherry picked from commit a51a699314)
8 years ago
Toshio Kuratomi 95f043c199 Add vagrant dyn inv fix to changelog 8 years ago
Hideki Saito 2ae7a892b9 Fix dynamic inventory for vagrant does not work on python3 (#37631)
* Fix dynamic inventory for vagrant does not work on python3 #35129

(cherry picked from commit 1b121fc9e4)
8 years ago
Toshio Kuratomi 5025cdb6a2 Add digital ocean py3 fix to changelog 8 years ago
Abhijeet Kasurde 3323eecfb0 DigitalOcean: typecast map function for Python3 (#37126)
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
Toshio Kuratomi d02dd8d8dd changelog for ansible-pull python3 fix 8 years ago
Toshio Kuratomi 133afbaebe Compare byte strings to byte strings
* Fix a traceback in ansible-pull on python3 comparing output from
  subprocess with a text string.
* Rename variables that hold byte strings so we are clear that those are
  not text strings.
* Use to_text() to transform variable that's being displayed as it's
  less fragile than str().

Fixes #36962

(cherry picked from commit b98ad3a12b)
8 years ago
Toshio Kuratomi 783f901919 Add ec2 python3 fix to changelog 8 years ago
Toshio Kuratomi 4beaa03ae6 Fix use of user_data field with spot_price in ec2 module (#37628)
The user_data field is base64 encoded inside of the boto library.  In
Python3, base64 must be used with byte strings.  So we make sure to
encode the user_data into a byte string before passing it on to the boto
library.

Fixes #34978

(cherry picked from commit 0d55081ba8)
8 years ago
Toshio Kuratomi cf557f0dc1 Add csvfile py3 fix to changelog 8 years ago
Toshio Kuratomi f7d14a78eb Fix csvfile traceback on Python3 (#37625)
* Fix csvfile traceback on Python3

The csvfile lookup uses some custom iterators.  These needed to be
ported to handle the python3 iterator protocol.  In addition, the
csvfile module takes an iterator of byte strings in Python2 and an
iterator of text strings in Python3

Fixes #36808

(cherry picked from commit 09325b619e)
8 years ago
Toshio Kuratomi ff2a4eadd8 add haproxy py3 fix 8 years ago
Ravi 8c0b91cdb5 Fix python3 interpreter issue (#34811) (#35176)
* Fix python3 interpreter issue (#34811)

* Update ansible.module_utils._text (#34811)

* Convert to text later to account for multibyte characters

(cherry picked from commit 340064bfb9)
8 years ago
Toshio Kuratomi c40e62d38f Cherry pick fix for interface_files
https://github.com/ansible/ansible/pull/37818/files
8 years ago
Alvaro Aleman 5d604d7ecd Fix consul module service deregistration (#34847)
* 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)
8 years ago
Matt Martz b9c94cc0c4 Add changelog entry for #36470 8 years ago
Matt Martz 07449d7e3d Fix py3 issue in wait_for_connection (#37646)
(cherry picked from commit 6c3e565ba3)
8 years ago
Matt Clay dff97aa252 Fix docker_secret test on RHEL.
(cherry picked from commit f1899f784b)
8 years ago
Matt Clay 03245022a2 Pin httptester SHA.
(cherry picked from commit 8232c95f42)
8 years ago