Commit graph

33672 commits

Author SHA1 Message Date
Matt Clay
3a5b1a1517 List quay.io images during Shippable run.
(cherry picked from commit a96a51b0c6)
2018-08-30 09:12:31 -07:00
Matt Clay
b1aef381f8 Switch distro test containers to quay.io images.
(cherry picked from commit 773c0982b0)
2018-08-30 09:12:31 -07:00
Matt Clay
ebcba98b38 Fix change detection on retried Shippable jobs.
(cherry picked from commit c0aaf0fff7)
2018-08-30 09:12:31 -07:00
Matt Clay
4c1d64cc94 Ignore CentOS 6.10 for passwordstore test.
(cherry picked from commit 18da873531)
2018-08-30 09:12:31 -07:00
Matt Clay
044399527e Restore repos after zypper_repository test runs.
This also allows the test to run on newer containers by not
manipulating any of the pre-configured repositories.

(cherry picked from commit cac51e6da8)
2018-08-30 09:12:31 -07:00
Jesse Pretorius
ccc963a51f Correct the OpenStack plugin example config
The current example configuration is not
quite right, so this patch implements a
fix which corrects it

The 'inventory_hostname' argument is removed
as it's the same value as the default.

(cherry picked from commit 12218f33a5c429676da8f3db0f91553c63a0314f)
2018-08-27 21:47:18 -07:00
Toshio Kuratomi
b7e31ddb63 [stable-2.4] Fix another corner case of too many warnings for world readable current working directory
There should be no warning if there is no ansible.cfg file i nthe
current working directory.
(cherry picked from commit f46c943)

Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
2018-08-23 23:28:41 -07:00
Matt Clay
a3bc0ac6cf Use runtime instead of datetime for test output.
(cherry picked from commit 31a5b874a1)
2018-08-23 14:17:26 -07:00
Matt Clay
a045535ecf Fix path handling in hacking/env-setup.
(cherry picked from commit 0392dbeba1)
2018-08-23 11:18:37 -07:00
Toshio Kuratomi
cdfdced5d8 [stable-2.4] Only print warning when ansible.cfg is actually skipped (#43583)
Only print warning when ansible.cfg is actually skipped

* Also add unittests for the find_ini_config_file function
* Add documentation on world writable current working directory
  config files can no longer be loaded from a world writable current
  working directory but the end user is allowed to specify that
  explicitly.  Give appropriate warnings and information on how.

Fixes #42388.
(cherry picked from commit 30662bedad)

Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
2018-08-03 10:51:51 -07:00
Matt Clay
9d08bc8242 Disable uri tests on RHEL, FreeBSD and OSX.
The httpbin.org test endpoint is too unstable for the tests to pass reliably.
2018-07-16 09:30:26 -07:00
Matt Clay
dbf28d7f8f Disable get_url tests on RHEL, FreeBSD and OSX.
The httpbin.org test endpoint is too unstable for the tests to pass reliably.
2018-07-10 16:36:50 -07:00
Matt Clay
96b53bd40a Remove unwanted containers at CI job start.
(cherry picked from commit 528de5b82f)
2018-07-09 21:50:56 -07:00
Toshio Kuratomi
1fde4e49df New release v2.4.6.0-1 2018-07-05 11:18:41 -07:00
Toshio Kuratomi
d21eadccdd Update version information 2018-07-05 11:13:46 -07:00
Toshio Kuratomi
715ed8d283 Fix changelog 2018-07-03 14:47:30 -07:00
Brian Coca
f32c42c37a [stable-2.4] ignore ansible.cfg in world writable cwd (#42070)
* ignore ansible.cfg in world writable cwd
 * also added 'warnings' to config
 * updated man page template.
(cherry picked from commit b6f2aad600)

Co-authored-by: Brian Coca <bcoca@users.noreply.github.com>
2018-07-03 09:38:28 -07:00
Toshio Kuratomi
84e7772523 Fix changelog to match the PR which was merged 2018-07-03 08:37:16 -07:00
Brian Coca
44874addc7 [stable-2.4] avoid loading vars on unspecified basedir (cwd) (#42067)
* avoid loading vars on unspecified basedir (cwd)
(cherry picked from commit de0e11c)

Co-authored-by: Brian Coca <bcoca@users.noreply.github.com>
2018-07-02 10:38:59 -07:00
Toshio Kuratomi
2a18883cb2 New release v2.4.5.0-1 2018-06-21 15:29:42 -07:00
Toshio Kuratomi
c1f7f5a324 Update changelog for release date of 2.4.5 2018-06-21 15:09:26 -07:00
Toshio Kuratomi
c8b1b271c6 Bump versions on release_and_maintenance doc 2018-06-21 14:57:33 -07:00
Toshio Kuratomi
1cf3abe811 Bump version number for playbook 2018-06-21 14:57:21 -07:00
Matt Clay
90580f96e9 Temporarily disable gem test on osx.
Disabled due to lack of newer TLS version support on the test system.

(cherry picked from commit dce708e63e)
2018-06-19 17:02:50 -07:00
Toshio Kuratomi
05fd86c82f New release v2.4.5.0-0.1.rc1 2018-06-13 11:35:50 -07:00
Toshio Kuratomi
1329d814d6 Add release info to the stable-2.4 vars file
The release playbook is no longer being run from the devel branch
because the release playbook is only for the 2.4 branch now.  Sync
information to the 2.4 branch that is needed to make that release there.
2018-06-13 09:01:44 -07:00
Toshio Kuratomi
9a2ef71d2d Tasks that are expected to fail need to begin with a special string
https://github.com/ansible/ansible/pull/41462

Commit: a5fd86c
2018-06-12 16:51:21 -07:00
Toshio Kuratomi
a53140532d Changelog entry for the no_log fix 2018-06-12 11:21:23 -07:00
Brian Coca
17830a01ba no_log even when task_result doesn't provide key
- now also checks task property
 - added reproducer to tests for unreachable status on item loop

(cherry picked from commit 336b3762b2)
2018-06-12 11:20:14 -07:00
Nilashish Chakraborty
b3a1761365
Fixes ios_logging idempotency issues in 2.4 (#41076)
* Fixes ios_logging & Added more tests

* Fixes buffered dest Shippable errors

* Fixed review comments

* Added entry to CHANGELOG.md
2018-06-05 17:24:04 +05:30
Nilashish Chakraborty
eedb78a8ba
Fix eos_logging idempotency issue CP into 2.4 (#40933)
* Fixes eos_logging idempotence issue #31862 (#40604)

* eos_logging idempotence fix

* fixed eos_logging idempotence issue

* Fixed pylint and pep8 errors

* Added tests for eos_logging & minor fix

* Removed q statements

(cherry picked from commit b9ea646839)

* Added eos_logging fix in CHANGELOG
2018-05-31 12:06:27 +05:30
Matt Clay
0967cc0c70 Fix FreeBSD package install in test setup.sh.
(cherry picked from commit c3d3b6cedc)
2018-05-30 09:26:15 -07:00
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>
2018-05-23 22:48:37 +02:00
Matt Clay
e450722867 Fix uri test on Python 2.6.
(cherry picked from commit 5c124876fa)
2018-05-16 15:36:40 -07:00
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>
2018-05-09 17:24:42 +05:30
George Wilson
9e1ce48b1c Backport part of #33221 (commit: 8fa1373a67da1801bd1df121851d6a619d002499) to fix azure functionapp ansible modules fataling due to a bad URL (#36322) 2018-05-02 17:34:28 -07:00
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)
2018-05-01 20:56:17 -07:00
Matt Clay
169cfbb25b Disable failing tests.
(cherry picked from commit f9ba5bc5e9)
2018-04-27 16:15:45 -07:00
Matt Clay
ddc9708557 Update the cloudstack test container reference.
(cherry picked from commit ac1fbbeabc)
2018-04-25 12:32:00 -07:00
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)
2018-04-24 13:53:05 -07:00
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
2018-04-21 06:57:08 +10:00
Matt Clay
b34402178e Update httptester container reference.
(cherry picked from commit 35748e5228)
2018-04-17 22:32:08 -07:00
Matt Clay
cff1cc6cc8 Restore docker_secret test on RHEL.
(cherry picked from commit 57f1298074)
2018-04-17 13:59:02 -07:00
Matt Clay
2cffb28b3d Disable failing fortios_* tests.
(cherry picked from commit 938625add7)
2018-04-17 13:58:55 -07:00
Matt Clay
e985272791 Use new vcenter simulator container location.
(cherry picked from commit 1d5c933ecf)
2018-04-16 16:29:56 -07:00
James Tanner
0ee146fef2 Fallback to the newer object type for dvswitch
(cherry picked from commit 940bf1f627)
2018-04-16 16:29:56 -07:00
John R Barker
00348c3db0
Explicitly exclude W504 (#38539) (#38553)
pycodestyle 2.4 has changed the default for W504
(cherry picked from commit 38491fe93d)
2018-04-11 09:47:58 +01:00
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)
2018-04-09 11:55:13 -07:00
Trishna Guha
9be623dd95
fix nxos_snapshot test assert (#38458)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-04-09 01:58:12 -04:00
Ganesh Nalawade
69f917ab6a Encode xml data to utf8 standard (#34079) (#38259)
(cherry picked from commit 5089122a32)
2018-04-06 12:45:40 -07:00