Commit graph

21231 commits

Author SHA1 Message Date
Matt Clay
611d34acf3 Pin httptester SHA. 2018-03-20 12:16:56 -07:00
Matt Clay
e72b41d3eb Disable failing subversion test on osx. 2018-03-20 09:09:58 -07:00
Matt Clay
ebae05adf5 Fix pip integration test.
(cherry picked from commit ea70b49b11)
2018-01-31 23:36:40 -08:00
Matt Clay
b08dc0c056 Remove EOL openSUSE Leap 42.2 from CI. 2018-01-31 21:54:35 -08:00
Matt Clay
90623b1ffb Update FreeBSD version used in CI. 2017-12-05 21:20:45 -08:00
Matt Clay
0b16e9257a
Pin Shippable build image to v5.4.1. (#32993)
* Pin Shippable build image to v5.4.1.
* Remove `pre_ci` to eliminate extra git sync.
* Upgrade pip in venv for pip test.
* Limit paramiko and cryptography versions.
* Update opensuse versions used in CI.
* Fix zypper* integration tests.
2017-11-20 17:47:53 -08:00
Matt Clay
df14dceb1f Use the new Parallels servers for OS X in CI. 2017-10-13 16:20:37 -07:00
Matt Clay
6c82b90587 Upgrade pip to support cryptography 2.1 and later. 2017-10-13 16:07:14 -07:00
Matt Clay
5d0ccb68af Use python-crypto instead of python2-cryptography.
(cherry picked from commit c869423e0c)
2017-08-03 13:45:06 -07:00
Matt Clay
672a8b3ec9 Update RPM spec and make targets. (#27712)
(cherry picked from commit b54d00f2de)
2017-08-03 13:44:59 -07:00
James Cammarata
4d585c9035 Don't include dependent roles in the dep chain for include_role
The dependency chain should not include roles below the parent, as it
can introduce very weird things like conditionals from child deps impacting
non-related roles.

Fixes #25136

(cherry picked from commit 495a809f46)
2017-07-17 23:57:32 -04:00
Brian Coca
d189b668cb updated chlog 2017-06-26 16:01:57 -04:00
Eugen C
55339cd0b4 Fix ansible ad-hoc to respect ANSIBLE_STDOUT_CALLBACK (#26098)
* Fix ansible ad-hoc to respect ANSIBLE_STDOUT_CALLBACK

* Ansible ad-hoc 'stdout_callback' should work only with 'bin_ansible_callbacks'

(cherry picked from commit 6d59160744)
2017-06-26 16:01:57 -04:00
Matt Clay
df551246a3 Use stronger password for MySQL (#25821)
Previously we were getting "Your password does not satisfy the current policy requirements"
Possibly caused by a software update on Fedora

(cherry picked from commit 7ee7fa7)
2017-06-22 12:11:27 -07:00
Matt Clay
6e3f5404f9 MySQL Password updates (#25825)
* MySQL Password updates

* Disable user_password_update_test

(cherry picked from commit 448efdb)
2017-06-22 11:26:50 -07:00
Brian Coca
6e474bb995 updated chnlog with backport 2017-06-22 13:48:51 -04:00
Matt Clay
9adfb2d6f5 Fix git tests. 2017-06-15 16:17:18 -07:00
Brian Coca
0cd22c730c updated with view patch 2017-06-15 11:33:28 -04:00
Brian Coca
9e6fc2b182 pager should not log
fixes #25719

(cherry picked from commit df2fcecd62)
2017-06-15 11:32:52 -04:00
James Cammarata
f5be18f409 New release v2.2.3.0-1 2017-05-09 09:50:19 -05:00
James Cammarata
da260cb013 Updating CHANGELOG for 2.2.3 (and 2.2.2) 2017-05-09 09:44:21 -05:00
James Cammarata
f0e348f5ee Fixing security issue with lookup returns not tainting the jinja2 environment
CVE-2017-7481

Lookup returns wrap the result in unsafe, however when used through the
standard templar engine, this does not result in the jinja2 environment being
marked as unsafe as a whole. This means the lookup result looses the unsafe
protection and may become simple unicode strings, which can result in bad
things being re-templated.

This also adds a global lookup param and cfg options for lookups to allow
unsafe returns, so users can force the previous (insecure) behavior.

(cherry picked from commit 72dfb1570d22ac519350a8c09e76c458789120ed)
2017-05-08 15:57:20 -05:00
Trishna Guha
f779227859 fix timeout assignment eos (#24235)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-05-03 19:04:47 +05:30
Nick Piper
341ffef08e Minor typo correction varibles -> variables
No impact as variable wasn't used.
(cherry picked from commit 403c142750)
2017-05-01 08:45:11 -04:00
Matt Clay
d600266d52 Use Shippable image: drydock/u16pytall:master 2017-04-26 16:46:53 +08:00
abirami-n
0feb231a9c Fixes#18663-Bad Handling of existing config in OS6 module (#23701)
* module_utils_fix_dellos6

* module_utils_fix
2017-04-25 13:15:44 +01:00
Brian Coca
8899f5e068 fix hashing when path is symlink
(cherry picked from commit 631a10745d)
2017-04-20 10:36:12 -04:00
Matt Martz
ad6ccf8ea9 When become_method is su, self._play_context.prompt is a function. Fixes #23689
(cherry picked from commit f82d95ae28)
2017-04-18 13:02:27 -04:00
Brian Coca
7b6557a23b tolerate 'batch' systems that mess with stdin (#23596)
* tolerate 'batch' systems taht mess with stdin

fixes #23541

* have pause on windows tolerate devnull

* tuplie

(cherry picked from commit 586fcae398)
2017-04-18 11:41:46 -04:00
Brian Coca
7cc351a237 removed debug print
(cherry picked from commit 313591f8b8)
2017-04-13 15:13:06 -04:00
Brian Coca
34511d1fc9 fix environment validation, make setup exception
removed bare vars
now environment inheritance correclty prepends
this allows more local to override more general

fixes #23180

(cherry picked from commit df5895e585)
2017-04-12 18:36:36 -04:00
Brian Coca
3f8c56a7e3 removed failing and unused import 2017-04-12 12:49:24 -04:00
Brian Coca
b12b5c376d correctly get all hosts in 'all'
(cherry picked from commit 0d5d5f2bf6)
2017-04-12 12:49:24 -04:00
Pierre-Alexandre
792832b53e BUGFIX : using yaml hosts inventory, hosts in groups weren't added to the group 'all'
(cherry picked from commit 283a88444f)
2017-04-12 12:49:24 -04:00
Sorin Sbarnea
6ee3a42673 py3 compatibility fix reported on #17038 (#19569)
Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com>
(cherry picked from commit 4ebd763de0)
2017-04-11 09:26:17 -07:00
James Cammarata
7ff9fa52cf Revert "Fixing another corner case for security related to CVE-2016-9587"
This reverts commit eb8c26c105.
2017-04-06 10:49:33 -05:00
Nathaniel Case
4a852ec287 Update submodule ref 2017-04-05 12:55:52 -04:00
James Cammarata
df3e71a83f New release v2.2.3.0-0.1.rc1 2017-04-03 11:53:09 -05:00
Brian Coca
42afc7dc45 fix 'ungrouped' issue with some inventory formats (#23018)
fixes #23016
(cherry picked from commit c4cff44e77)
2017-03-29 16:47:56 -04:00
Toshio Kuratomi
04f65a4d29 Split on newlines when searching for become prompt
The fix for leading junk in sudo output: fee6e29 causes problems with
ssh + sudo.  On the initial connection using ControlPersist, the output
that we scan for the prompt contains both the command we're sending to
configure the prompt and the prompt itself.  The code in fee6e29 ends up
sending the password when it sees the line configuring the prompt which
is too early.

Switch to a version that splits on lines and then checks whether the
first or last line starts with the prompt to decide if it's time to send
the password.

Fixes #23054
References #20858

(cherry picked from commit 6f77498700)
2017-03-29 12:12:10 -07:00
Pavel Glushchak
9b71a6a0b0 Added Virtuozzo distribution support
Virtuozzo Linux is based on CentOS sources. Thus OS family
should be recognized as 'RedHat'.

Signed-off-by: Pavel Glushchak <pglushchak@virtuozzo.com>
(cherry picked from commit 097173c6f5)
2017-03-29 08:50:29 -07:00
Victor Perron
972660968a paramiko_ssh: fix crash upon pass prompt in py3
The pass prompt expects an answer and compares a `str` to a binary buffer, thus crashing.

It's an obvious fix to help transitioning towards Python3 and hopes it does not need a specific test.
(cherry picked from commit bc44175d8d)
2017-03-29 07:48:09 -07:00
Toshio Kuratomi
2273800f7c Update submodule ref 2017-03-28 07:52:25 -07:00
James Cammarata
31300bd36b New release v2.2.2.0-1 2017-03-27 14:04:34 -05:00
Toshio Kuratomi
147c29f0e9 Update submodule refs 2017-03-22 20:49:07 -07:00
Brian Coca
de331a9488 clarify facts assignment for several corner cases
run_once/delegate_facts:
 now delegate_facts > run_once, previously run_once always published facts to all hosts in play

include_vars/delegate_to:
  now include_vars allows to delegate to a specific host

also fix task_vars exception in delegate_facts/loop as var was removed

fixes #15365

(cherry picked from commit 519f5db7ccb2f0114485521d432fb008c5b2dfce)
2017-03-15 16:02:36 -04:00
Brian Coca
36b462ba85 deal with other 'ungrouped' corner cases
(cherry picked from commit 2d9bf88897)
2017-03-09 20:12:01 -05:00
Brian Coca
b33c41dc5f readd all.add_host as for loop uses diff data
(cherry picked from commit 78e116077a)
2017-03-08 15:57:01 -05:00
Toshio Kuratomi
8b8f0597ed update submodule 2017-03-08 12:34:56 -08:00
Brian Coca
3ba057d28d backport inventory fix, ensure all/ungrouped 2017-03-08 14:58:10 -05:00