Commit graph

29974 commits

Author SHA1 Message Date
Matt Clay
218103d540 Update vyos completion in network.txt.
(cherry picked from commit 3a6fad38fa)
2017-11-22 10:17:35 -08:00
Matt Clay
f0f2031eaf Use vyos/1.1.8 in CI.
(cherry picked from commit 887f227994)
2017-11-22 10:16:13 -08:00
Matt Clay
b123fa4d6f Fix and re-enable zypper* integration tests in CI.
(cherry picked from commit 781219bcfd)
2017-11-17 15:54:23 -08:00
Matt Clay
7256dd17ae
Pin Shippable build image to v5.4.1. (#32988)
* Pin Shippable build image to v5.4.1.
* Remove `pre_ci` to eliminate extra git sync.
2017-11-16 11:34:40 -08:00
James Cammarata
54cfb022c2 New release v2.3.3.0-0.3.rc3 2017-11-10 16:00:14 -06:00
Toshio Kuratomi
012998c5f7 Revert "Add template lookup fix to changelog"
This reverts commit 994ed2c443.
2017-11-09 10:24:43 -08:00
Toshio Kuratomi
6eb485c136 Revert "Do not escape backslashes when using the template lookup plugin"
This reverts commit 2b40463a48.

Decided that this change was too big for a bugfix release.  Make it
2.4.x only.
2017-11-09 10:24:43 -08:00
Matt Clay
49f3dda7f6
WIP: Resolve CI issues for stable-2.3. (#32605)
* Revert "If pip install requirements.txt fails, upgrade pip (#32399)"

This reverts commit 2fb4f547a9.

* Avoid pep8 user warning in 1.7.1.
* Limit cryptography version for Windows tests.
* Upgrade pip in virtualenv for pip test.
* Upgrade pip in virtualenv for groupby_filter test.
* Upgrade pip in virtualenv for template_jinja2_latest test.
2017-11-06 17:32:47 -08:00
Toshio Kuratomi
b77de1bd5d If we can't find a .py file for the system six, use our bundled copy instead.
Fixes #32567
2017-11-06 11:22:54 -08:00
John R Barker
2fb4f547a9
If pip install requirements.txt fails, upgrade pip (#32399)
* If pip install requirements.txt fails, upgrade pip

* Use pycodestyle instead of pep8 (#25947)

(cherry picked from commit 4b3d6dfa8a)

* Ignore more

* pylint lint fixes

* Ignore more
2017-11-06 15:54:37 +00:00
Ganesh Nalawade
eaa2fcc73f Fix password leak in logs for provider argument (#32215)
* Fix password leak in logs for provider argument

Since provider argument is not validated against a spec
the `no_log` arguments are not handled leading to password
leaking to syslogs.
To fix this:
*  Mask password and other `no_log` provider arguments in action plugin
*  In case of eapi and nxapi as the password is used in module code,
*  copy the provider password to top-level password argument which
*  handles `no_log` correctly. This will, however, throw a deprecation
*  warning message for password arg even if it is not given as a
*  top-level argument.

* Remove auth details from provider args in action plugin

* Update CHANGELOG
2017-11-03 11:27:14 -05:00
Matt Martz
4c6612eeba Fix patching to epel package
(cherry picked from commit be9cc70b74)
2017-10-30 14:41:30 -07:00
Toshio Kuratomi
c4085eb07c Add hostname fix for rhel7 2017-10-18 16:30:18 -07:00
Martin Krizek
b27e86ac07 hostname: fix for a new version of rhel (#31839)
Fixes #31811
(cherry picked from commit efec43dd1e)
2017-10-18 16:29:33 -07:00
James Cammarata
9e116c1b65 New release v2.3.3.0-0.2.rc2 2017-10-17 11:39:33 -05:00
Matt Clay
4cddc2e7c9 Backport ansible-test updates from devel.
The primary change is use of the new servers for
provisioning remote OS X instances for use in CI.
2017-10-12 21:52:17 -07:00
Brian Coca
03a0ea682b restored 2.4/2.5 compat 2017-10-12 12:58:25 -04:00
sethp-nr
152c895b1f wait_for: treat broken connections as "unready" (#28839)
* wait_for: treat broken connections as "unready"

We have observed the following condition while waiting for hosts:

```
Traceback (most recent call last):
  File "/var/folders/f8/23xp00654plcv2b2tcc028680000gn/T/ansible_8hxm4_/ansible_module_wait_for.py", line 585, in <module>
    main()
  File "/var/folders/f8/23xp00654plcv2b2tcc028680000gn/T/ansible_8hxm4_/ansible_module_wait_for.py", line 535, in main
    s.shutdown(socket.SHUT_RDWR)
  File "/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 228, in meth
    return getattr(self._sock,name)(*args)
socket.error: [Errno 57] Socket is not connected
```

This appears to happen while the host is still starting; we believe something is
accepting our connection but immediately resetting it. In these cases, we'd
prefer to continue waiting instead of immediately failing the play.

This patch has been applied locally for some time, and we have seen no adverse
effects.

* wait_for: fixup change

We were missing an import and a space after the `#`

(cherry picked from commit 402b095841)
2017-10-12 11:40:42 -04:00
James Cammarata
60d9513efb New release v2.3.3.0-0.1.rc1 2017-09-30 12:17:08 -05:00
Brian Coca
4eea3e91ad restored 'static' which is still used in 2.3 2017-09-30 12:17:08 -05:00
Brian Coca
a9e8f38342 validate include_role args (#28077)
* validate include_role args
* removed unused static

(cherry picked from commit d89dd75769)
2017-09-29 10:52:46 -04:00
Toshio Kuratomi
fd37f27d2b Add jenkins_plugin CVE fix to changelog 2017-09-26 11:25:20 -07:00
Toshio Kuratomi
4d5b9ae803 Remove example of using params for the url_password
params could be logged so never use it for passwords.

Also add code to raise an error if passwords are used in that field.

References #30874

(cherry picked from commit 863fcb5ace)
2017-09-25 18:34:53 -07:00
Brian Coca
43e0a0369b fix for yaml inventory in not likeing 'none' 2017-09-20 16:55:36 -04:00
jborean93
82754c7a31 revert win_file headers back to original format so cherry picking works 2017-09-19 07:15:35 +10:00
jborean93
a606321975 Updated changelog to for win_file check mode fix 2017-09-19 06:50:16 +10:00
Dag Wieers
f1f8d0319f win_file: Fix check-mode issue removing dirs (#30475)
This fixed #30442

(cherry picked from commit 229a86c952)
2017-09-19 06:49:45 +10:00
Ganesh Nalawade
4f5bf2e08f Use safe_load to load yaml (#30408)
Replace `yaml.load` with `yaml.safe_load`

(cherry picked from commit 8c3bf20a13)
2017-09-15 14:39:16 +05:30
Toshio Kuratomi
b4004e5046 Document boolean default value treatment (#30062)
* Consistency and document treatment of default bool values

* Document that default bool values can be any Ansible recognized bool.
  choose the one that reads better in context
* For fragments used by the copy module, make bool types use type=bool and not choices

* Edit for clarity

(cherry picked from commit 8a2f069468)
2017-09-14 13:29:25 -07:00
Rene Moser
48d821e611 update changelog for Tower module_utils SSL fix 2017-09-14 09:26:59 -07:00
ethackal
4a58187103 Fixes verify_ssl option when False in ansible_tower module util (#30308)
* Fixes verify_ssl option when False in ansible_tower module util

* fixed comparison to None per PEP-8 standards

(cherry picked from commit 4980ebf064)
2017-09-14 09:26:59 -07:00
Sloane Hertel
e8e2c5a9f7 [cloud] update the local variable route_table with the latest tag changes (#23136) (#29989) 2017-09-14 12:30:09 +10:00
jborean93
01cbdb9878 Update changelog to show windows become fix on output streams 2017-09-14 07:06:15 +10:00
Jordan Borean
4f049ab74e fixed become to show the stdout and stderr streams instead of the StreamReader (#30254)
(cherry picked from commit 77b2aca5a2)
2017-09-14 07:03:49 +10:00
Toshio Kuratomi
a859c8bba5 Add vars_prompt fix to changelog 2017-09-13 10:53:27 -07:00
Andrea Tartaglia
48dd3be986 Updated Display.do_var_prompt to use to_native on prompt ( Fixes #30265 ) (#30285)
* Updated Display.prompt to use the normalized prompt message.

(cherry picked from commit ea8af15dfe)
2017-09-13 10:42:02 -07:00
Brian Coca
4114a4cfc5 removed orig_exec as that is 2.4 feature 2017-09-12 17:21:22 -04:00
Andrea Tosatto
ba4f0e9228 make os_security_group_rule idempotent (#23707)
* Fix issue #19610
(cherry picked from commit 6b6e5665aa)
2017-09-12 07:24:54 -07:00
Matt Martz
b8e02b0dc1 Create a new pipe for sshpass on retries. Fixes #29095
(cherry picked from commit d043ba2673)
2017-09-11 08:49:56 -07:00
Matt Clay
09d38049eb Fix wheel dependency on python 2.6. (#29388)
* Fix wheel dependency on python 2.6.
* Limit wheel version for tox on python 2.6.

(cherry picked from commit 50ae33d3c1)
2017-09-11 00:06:30 -07:00
Toshio Kuratomi
c22f8a4ae4 Add blockinfile fix to changelog 2017-09-09 12:50:51 -07:00
Anton Baklanov
4367a45668 Fixes #26793: convert insert regex to_bytes before searching
(cherry picked from commit fcad4f38b4)
2017-09-09 12:49:44 -07:00
Toshio Kuratomi
afa71ace67 Add py3 jail fix to changelog 2017-09-09 11:56:20 -07:00
Pierre Guinoiseau
4bb52d52b9 Fix py3 string issue in jail connection plugin (take 2) (#28374)
* Fix py3 string issue in jail connection plugin

(cherry picked from commit 436b173b24)
2017-09-09 11:54:53 -07:00
Toshio Kuratomi
5fbe1e2798 Add cloudtrail profile fix to changelog 2017-09-09 10:09:42 -07:00
s-hertel
a4edac599a Fix connection credentials for cloudtrail module in stable 2.3. Fixes #28821. 2017-09-09 10:07:28 -07:00
Matt Clay
d31ba7240f Revert "Temporarily disable failing opensuse test jobs."
This reverts commit 31d2eb0828.

(cherry picked from commit 67c7bd8745)
2017-09-07 11:49:19 -07:00
Brian Coca
2c2ca9b34e updated chlog 2017-09-06 23:27:10 -04:00
Brian Coca
54ad5b5f49 fix check mode for solaris enable/disable (#29049)
(cherry picked from commit 7804049592)
2017-09-06 23:26:44 -04:00
Matt Clay
aa6f3f91ba Temporarily disable failing opensuse test jobs.
(cherry picked from commit 31d2eb0828)
2017-09-06 19:51:29 -07:00