Commit graph

38453 commits

Author SHA1 Message Date
Matt Martz
16684f1187 [stable-2.6] Wrap CLI passwords as AnsibleUnsafeText (#63352) (#63393)
* [stable-2.6] Wrap CLI passwords as AnsibleUnsafeText (#63352)

* isa string should rewrap as unsafe in get_validated_value

* _is_unsafe shouldn't be concerned with underlying types

* Start with passwords as text, instead of bytes

* Remove unused imports

* Add changelog fragment

* Update changelog with CVE.
(cherry picked from commit baeff7462d)

Co-authored-by: Matt Martz <matt@sivel.net>

* Update tests
2019-10-11 10:32:00 -07:00
Toshio Kuratomi
d961f676c0 Fix for plugins which used the boto libraries leaking the boto credentials to logs
(cherry picked from commit 3753304d209f2fdc28f0b2ebf1e139eb3d8c22b1)

https://github.com/ansible/ansible/pull/63366
2019-10-10 21:22:44 -07:00
ndclt
d8d7e5a072 documentation: modify the link to the docker.txt listing all images (#61838) (#61851)
The file was moved.

(cherry picked from commit aadb192846)
2019-09-05 10:38:08 -05:00
Toshio Kuratomi
30a29133a8 Update Ansible release version to v2.6.19.post0. 2019-08-15 19:56:32 -07:00
Toshio Kuratomi
38036f07d8 New release v2.6.19 2019-08-15 14:07:58 -07:00
Matt Clay
c64e9736a3 [stable-2.6] Start dbus when setting up postgresql tests.
(cherry picked from commit c309570540)

Co-authored-by: Matt Clay <matt@mystile.com>
2019-08-15 13:24:36 -07:00
Brian Coca
4b5aed4e5a prevent templating of passwords from prompt (#59246) (#59554)
* prevent templating of passwords from prompt (#59246)

* prevent templating of passwords from prompt

  fixes CVE-2019-10206

(cherry picked from commit e9a37f8e31)

* Improve performane of UnsafeProxy __new__

This adds an early return to the __new__ method of the UnsafeProxy object
which avoids creating the unsafe object if the incoming object is already
unsafe.

(cherry picked from commit c1e23c22a9fedafaaa88c2119b26dc123ff1392e)
(cherry picked from commit 490f17c7f9)
2019-08-12 18:06:01 -07:00
Sandra McCann
fcf8dc8d0c add eol banner (#59254)
(cherry picked from commit 00699735e9)
2019-08-07 07:26:16 -07:00
Sam Doran
1a9f703309 [stable-2.6] Wait for Ansible Tower instance to be ready
(cherry picked from commit ea209e1c2f)

Co-authored-by: Sam Doran <sdoran@redhat.com>
2019-08-02 13:57:21 -07:00
Matt Clay
203d57d0da Remove redundant "Sanity Tests »" from page title.
The docs now have multi-level breadcrumbs so including "Sanity Tests »" in the title on a sanity test page is redundant.

(cherry picked from commit b4494fa547)
(cherry picked from commit dd42aac878)
(cherry picked from commit 2e66d73940)
2019-07-26 10:51:06 -07:00
Toshio Kuratomi
7fc75e54e6 [stable-2.6] Fix nightly rpm release
The nightly rpm builds were using a timestamp from the last git commit
in their Release field.  Unfortunately, that was using author timestamp
which is nonsequential.  Change to using commit timestamp which is
sequential.

note that this still has a cornercase if the branch's history is ever
rewritten.
(cherry picked from commit 97edfcc)

Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
2019-07-24 10:03:48 -07:00
Sloane Hertel
2404579946 disable s3_lifecycle tests (#59311)
(cherry picked from commit 1d3f2c7764)
2019-07-22 19:01:15 -07:00
Sam Doran
d614abe02d [stable-2.6] Improve dnf test formatting and fix RHEL 8 module name (#58648)
- use single include_vars task rather than multiple set_fact tasks
- use multi-line YAML to break up long conditionals
- use version() test rather than direct comparisions
(cherry picked from commit 16d6fcf514)
2019-07-17 15:39:55 -07:00
Sandra McCann
73bbdf4392 Add a banner message to warn when not on latest documentation (#58526) (#58767)
* add banner to versions that are not latest
(cherry picked from commit 35b6345bdc)
2019-07-08 14:21:05 -05:00
Toshio Kuratomi
39adb25827 [stable-2.6] Fix unicode error in changelog generation
(cherry picked from commit fed90ef)

Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
2019-07-05 11:47:36 -07:00
Toshio Kuratomi
749758e91f Update Ansible release version to v2.6.18.post0. 2019-07-03 13:41:35 -07:00
Toshio Kuratomi
a5f3791a91 New release v2.6.18 2019-07-03 09:43:54 -07:00
Sam Doran
f3ce22b168 Make nuage_vspk test more reliable
- don't background the nuage-vsd-sim
- increase the asncy timeout
- use uri to actually query the simulator API to make sure it is ready for connections

(cherry picked from commit 911a2ec6d3)
2019-06-26 14:54:25 -07:00
Matt Clay
d981461a7b [stable-2.6] Fix nuage_vspk integration test:
- Wait for API to be ready.
- Enumerate test cases on controller.
(cherry picked from commit 29de0619e8)

Co-authored-by: Matt Clay <matt@mystile.com>
2019-06-26 14:54:25 -07:00
markafarrell
37284b0581 [stable-2.6] also allow None Type for safe eval (#58269)
(cherry picked from commit 8555b72)

Co-authored-by: markafarrell <mark.andrew.farrell@gmail.com>
2019-06-25 12:18:21 -07:00
Sam Doran
f71a7b9fbd [stable-2.6] Add Fedora 30 to test matrix (#57713)
Remove Fedora 28 from test matrix.
(cherry picked from commit 7b9d991f78)

Co-authored-by: Sam Doran <sdoran@redhat.com>
2019-06-24 14:21:42 -07:00
Matt Clay
8047c3d53d [stable-2.6] Add work-around for scp issue in tests.
(cherry picked from commit 414ac12ddd)

Co-authored-by: Matt Clay <matt@mystile.com>
2019-06-21 15:37:01 -07:00
Sam Doran
f44d23a601 [stable-2.6] passwordstore lookup - replace expired GPG key (#58141)
- Replace private key that expired an 2019-06-20 with a key that does not expire
- Document how to generate a new GPG key using an input file
(cherry picked from commit b9d77b997e)

Co-authored-by: Sam Doran <sdoran@redhat.com>
2019-06-20 15:33:41 -07:00
Sandra McCann
33a92419a3 backport 2.6 - add dropdown version changer - 55655 (#58098) 2019-06-19 15:53:14 -05:00
Sam Doran
2aa20a9740 [stable-2.6] Change integration tests in order to pass on Fedora 30 (#58081)
* Use different package for DNF tests
    Ninja caused errors in Fedora 30. This works in both Fedora 29 and 30.

* Fix git integration tests
    Git >= 2.21.0 has either a bug or change in behavior where it errors when fetching a
    repository containing submodules that are behind the upstream submodule commits.
    It's weird and I don't fully understand it.

    Get around this my checking out specific commits from a repository rather than
    switch the origin URL.

* Fix PostgreSQL tests
    The error message is slightly different.
(cherry picked from commit 18feeb51a8)

Co-authored-by: Sam Doran <sdoran@redhat.com>
2019-06-19 10:06:38 -07:00
Brian Coca
3ff6505e8f safe_eval fix (#57188)
* just dont pass locals

 - also fix globals
 - added tests

* fixed tests

(cherry picked from commit b9b0b23015)
2019-06-17 13:56:04 -07:00
Matt Clay
c68f53f951 [stable-2.6] Limit tests to paramiko < 2.5.0.
(cherry picked from commit 1e6edf2ccc)

Co-authored-by: Matt Clay <matt@mystile.com>
2019-06-10 16:13:56 -07:00
Ed Costello
c112ab30b1 Update link to AWS guidelines to point at the devel docsite since the (#57467)
GUIDELINES.md has been moved to the docsite from devel on github.
2019-06-10 09:57:23 -05:00
Sandra McCann
7f845ffcd9 fix breadcrumbs (#57426) 2019-06-05 15:28:02 -05:00
Martin Krizek
b6c6046987 ansible-test: prefer shlex.quote (#56823)
(cherry picked from commit 484c023316)
2019-05-28 12:41:51 -07:00
Matt Martz
03bab95231 [stable-2.6] Validate types before asserting lengths (#56882)
(cherry picked from commit 9c5b721)

Co-authored-by: Matt Martz <matt@sivel.net>
2019-05-26 08:51:25 -07:00
Toshio Kuratomi
fb96b88122 Update Ansible release version to v2.6.17.post0. 2019-05-23 11:51:29 -07:00
Toshio Kuratomi
1b7828561e New release v2.6.17 2019-05-23 10:43:59 -07:00
Matt Clay
5cbc6b0566 [stable-2.6] win_get_url: ignore defender false positive in tests (#56826)
* [stable-2.6] win_get_url: ignore defender false positive in tests (#56812)
(cherry picked from commit 124400f319)

Co-authored-by: Jordan Borean <jborean93@gmail.com>

* Adapt tests to work without remote_tmp_dir.
2019-05-23 09:38:27 -07:00
Alicia Cozine
45e9ff7eb4
Removed misleading padding from highlighted results of a search query (#55464) (#56653)
(cherry picked from commit 0330ea616e)
2019-05-21 12:48:51 -05:00
Alicia Cozine
674980afcc
Backport/2.6/docs default lists (#56666)
* Improve rendering of default lists (#56041)

(cherry picked from commit 53ed1bfc49)

* Add compat tojson filter for jinja2 versions missing it (#56596)

(cherry picked from commit 3f4a22d8ef)
2019-05-21 11:51:56 -05:00
Alicia Cozine
e61a089b5e
Speed up the Sphinx documentation build (#55593) (#56663)
* speeds up the docs build by changing the navigation collapse setting

(cherry picked from commit 47a440774f)
2019-05-21 11:46:27 -05:00
Alicia Cozine
80d37638c6
Update default roles_path documentation (#56320) (#56664)
(cherry picked from commit c1ebc8d9c2)
2019-05-20 17:11:25 -05:00
Alicia Cozine
99fdfbe93f
creates reversed glob TOCs for porting guide and roadmap index pages (#56656) 2019-05-20 17:10:33 -05:00
Alicia Cozine
50418e7532
clean backport of PR 56355 (#56652) 2019-05-20 17:08:16 -05:00
EvgenyF
83f09036a2 [stable-2.6] Changing the license to Apache 2
(cherry picked from commit ea4842c0d3)

Co-authored-by: EvgenyF <evgenyf@radware.com>
2019-05-20 12:28:46 -07:00
Sandra McCann
e988a85a0e [backport][Doc-Release-2.8] backport release table for 2.8 (#56661)
* backport table of supported releases
2019-05-20 13:26:55 -05:00
Jordan Borean
327016404d win_acl - fix network path qualifier parsing (#55970)
(cherry picked from commit cc3b8b9f72)
2019-05-17 23:20:59 -04:00
Matt Martz
7a1ccef131 [stable-2.6] Bump erlang ping to 1:20.3.8.18-1
(cherry picked from commit 4b00141)

Co-authored-by: Matt Martz <matt@sivel.net>
2019-05-16 12:00:15 -04:00
James Tanner
79ae21e68e [stable-2.6] Nullify improperly licensed test file
(cherry picked from commit 940d58e)

Co-authored-by: James Tanner <tanner.jc@gmail.com>
2019-05-15 15:17:49 -04:00
Matt Clay
f3f266874c [stable-2.6] Install rabbitmq from s3 in tests..
(cherry picked from commit e105f5b436)

Co-authored-by: Matt Clay <matt@mystile.com>
2019-04-30 12:41:05 -05:00
Sandra McCann
7e5d22d0c2 Update Ansible docsite CSS to fix multi-page printing issue (#51472) (#55667)
* Update css to fix multi-page printing issue
* Add margin edit

(cherry picked from commit 51ac4d3441)
2019-04-23 14:04:04 -05:00
Martin Krizek
3ae0296b14 ansible-test yamllint: fix UnicodeDecodeError (#55364)
* ansible-test yamllint: fix UnicodeDecodeError

* Conditional fix

(cherry picked from commit f8bebc61c8)
2019-04-22 09:37:50 -07:00
Dag Wieers
c1b640b65d ACI: Ensure we use native strings for signature (#55163)
* ACI: Ensure we use native strings for signature

* Add changelog fragment
2019-04-16 14:57:50 -07:00
Matt Clay
126b68591d [stable-2.6] Fix ansible-test unicode error with redact option.
(cherry picked from commit 2ef4ba3b4d)

Co-authored-by: Matt Clay <matt@mystile.com>
2019-04-15 13:34:30 -07:00