Commit Graph

29816 Commits (9d435fd47bb7517873eea60f9d8d80b409ecf7c3)
 

Author SHA1 Message Date
Toshio Kuratomi 9d435fd47b Add seboolean fix to the changelog 7 years ago
Michael Scherer 1628a25d8d Workaround python-libselinux API change (#25685)
In the past, selinux.security_get_boolean_names did return 'bytes'
on python 3, but this was changed to return string later, cf:
b8711e2eaf

So we have to convert to bytes only if the API return us bytes.

Fix #25651
(cherry picked from commit e2d6ecfa40)
7 years ago
Jason Tibbitts 0a7bad68dc Avoid using deprecated group_install API
DNF's base.group_install() function accepts a string as its first
argument.  Prior to DNF-2, compatibility code existed which allowed this
function to accept a base.comps.Group object instead.  That is no longer
possible.

Pass "group.id" to base.group_install() instead of "group" to work
around this.

(cherry picked from commit ccce74cf7b)
7 years ago
Will Thames 2385e2be27 include_role handlers bug fix (#26335)
* Ensure that include_role properly fires handlers

include_role needs to ensure that any handlers included
with the role are added to the _notified_handler and
_listening_handler lists of the TaskQueueManager, otherwise
it fails when trying to run the handler.

Additionally, the handler needs to be added to the
PlayIterator's `_uuid_cache` or it fails after running
the handler

Add more uuid debug statements - this code was hard
to debug with existing debug statements, so add more
uuid information at little additional output cost.

Fixes #18411

* Add tests for include_role handlers

Tests for #18411

(cherry picked from commit ef8c9798d3)
7 years ago
KeepZero 91f70a4462 Fix performance issue while match pattern in large inventory list 7 years ago
Toshio Kuratomi 28fa228d93 Fix for nonutf8 filenames causing crashes when setting permissions
Fixes #23861

(cherry picked from commit b26ee657b5)
7 years ago
Toshio Kuratomi 795e75433e Expand the result from pwd to make the test more robust
Sometimes MacOSX's pwd doesn't return an expanded path.  Not sure why
but this test is still valid if we expand it via a playbook filter so
go ahead and do that.

(cherry picked from commit 6a41a4f311)
7 years ago
Toshio Kuratomi ddc124297a Update changelog for utf8 recurse files bug 7 years ago
Toshio Kuratomi 9a05efcab9 Fix for to_text and to_bytes error handlers
* surrogate_then_strict doesn't exist.  Switch to surrogate_or_strict
  instead.
* Found some bugs in the _text.py implementation
  * The composed error handlers (error handlers which are made up of two
    or more python encoding error handlers) had a wrong string in it,
    'surrogate_or_escape' doesn't exist.  Replaced that with
    'surrogate_or_replace' which is the correct handler name.
  * Left comment about the implicit conditions that are part of the
    surrogate_then_replace code path

Fixes #23865
Fixes #23861

(cherry picked from commit fc5d71de0d)
7 years ago
Matt Clay 0e0400b12e Disable zypper* tests which are timing out.
(cherry picked from commit d031ff8aec)
7 years ago
Toshio Kuratomi 8eba034942 Add su_pass fix to changelog 7 years ago
Toshio Kuratomi 13901eeb70 Fix legacy su handling (bad conditional would not fire at the right time)
(cherry picked from commit aa9941aaf7)
7 years ago
John R Barker 668266552e Bulk dev_guide from devel to 2.3 (#27205)
* Bulk dev_guide from devel to 2.3

* Scot's feedback
7 years ago
John R Barker 065f74f0ee Bulk import network doc changes from devel to 2.3 (#27204) 7 years ago
Trishna Guha b66d9cc14e fix nxos_interface state default (#27108)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
7 years ago
James Cammarata a1c15a9277 New release v2.3.2.0-0.3.rc3 7 years ago
John R Barker 316ef8a069 Add make target for printing version (#26657) (#27030) 7 years ago
Ricardo Carrillo Cruz a3817721fc Cherry pick EAPI tearup/down tests changes (#26938)
* Replace Ethernet5 for Ethernet2 on eos integration tests (#26674)

In our CI, we only have 3 NICS: Management1, Ethernet1 and
Ethernet2.
(cherry picked from commit 4006b5d18f)

* Add CHANGELOG entry
7 years ago
Ricardo Carrillo Cruz 4490cc9e9e Cherry pick eapi tearup down changes (#26935)
* Remove enable EAPI from prepare_eos_tests (#26910)

Enabling EAPI is not common on CLI *and* EAPI tests, therefore
enabling it should be put at the eapi.yaml task level.
(cherry picked from commit 258d2058cd)

* Add missing provider on disable eapi tasks (#26928)

(cherry picked from commit 4532c791fd)

* Add CHANGELOG entry
7 years ago
Ricardo Carrillo Cruz 32b4342209 Cherry pick 2.4 eos banner fixes (#26904)
* Fix multiple EOS EAPI code and test issues (#26651)

(cherry picked from commit b81209c187)

* Fix eos_banner basic-motd eapi asserts (#23398)

The commands in EAPI does not contain the plain command sent to the
device as a one liner, but it is split in cmd/input keys.
(cherry picked from commit ce9826d76e)

* Add CHANGELOG entry
7 years ago
Trishna Guha 85e9a07117 privilege escalation for eos integration test (#26597)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
8 years ago
Toshio Kuratomi 23020bf9d9 Revert "postgresql_user: fix bugs related to 'expires' option (backport #23862) (#26539)"
This reverts commit 5432414c9d.
8 years ago
Pilou 5432414c9d postgresql_user: fix bugs related to 'expires' option (backport #23862) (#26539)
* Change 'valid until' even it's the only updated field

(cherry picked from commit 460d932aa8)

* value is changed when another value is provided

(cherry picked from commit 460d932aa8)

* value isn't returned when unset

(cherry picked from commit 460d932aa8)

* Fix comparison between user input and applied configuration

(cherry picked from commit 460d932aa8)
8 years ago
James Cammarata 022ba4fbea New release v2.3.2.0-0.2.rc2 8 years ago
Matt Clay 71444d0c37 Update CHANGELOG.md to include wait_for fix. 8 years ago
Matt Clay 154b0d2210 Fix wait_for with newer versions of psutil. (#26455)
* Add support for newer psutil versions.

(cherry picked from commit 895e6c5d06)
8 years ago
Ganesh Nalawade 4deb45eff6 Making iosxr check_args call module_util/iosxr check_args. Fixes #25501 (#26261) (#26444)
(cherry picked from commit 1d62283796)
8 years ago
Jordan b223c7e0a2 changelog: fix for win_chocolatey where it didn't fail if the version did not exist 8 years ago
Dag Wieers ffadbf680d win_chocolatey: Ensure chocolatey to fail (#26416)
Currently chocolatey is not failing when the user requests version X,
but version X is not available in the repository.

Obviously the module should fail in this case.

This fixes #25393
(cherry picked from commit b9d018885a)
8 years ago
Jordan 29ac96e09e changelog: added fix for win_regedit and idempotency on dwords 8 years ago
Jordan Borean 7f5a0715bf win_regedit: fix for same dword value (#26415)
(cherry picked from commit 8e9d04043a)
8 years ago
Jordan 8ced21101f changelog: added win_chocolatey upgrade of all packages fix 8 years ago
Dag Wieers 69175a5077 win_chocolatey: Fix updating 'all' packages (#26417)
This fixes #15018
(cherry picked from commit 69ade22243)
8 years ago
René Moser 333d177325 changelog: add backported fixes by me (#26403) 8 years ago
René Moser 0c8459b01b cloudstack: cs_instance: fix KeyError: 'sshkeypair' (#26399)
(cherry picked from commit 37b22673fb)
8 years ago
Brian Coca fa65417ba0 updated with change 8 years ago
R. Soto 144d0b6f9e update auth_flag variable after STARTTLS connection is established, fixes #26376
(cherry picked from commit 5c0c985547)
8 years ago
Matt Davis 8ad00c0128 CHANGELOG update for become/runas fix 8 years ago
Matt Davis f9f83c5826 converted become runas to explicit CreateProcessWithLogonW
* fixes become_method: runas for unprivileged users
* sets permissions on tempdir appropriately
* allows automatic system environment generation for new token (old Process.Start way prevents this)
* add basic become runas tests

(cherry picked from commit 6d99a0a934)
8 years ago
John R Barker e947321831 Remove trailing newlines (#26350) 8 years ago
John R Barker 9d94a309ca Remove test of openvswitch_db state (#26349)
The `state:` option didn't exist in Ansible 2.3, so don't test it.
8 years ago
Yanis Guenane 1ad1ad6ace Missing prepare_ovs_tests directory (#26337)
openvswitch_db tests have been backported from devel to stable-2.3[1],
but the role to prepare_ovs_tests was missing from the backport, hence
the test, when run complained about missing roles.

This commit aims to bring this directory into stable-2.3 tree.

[1] https://github.com/ansible/ansible/pull/26330
8 years ago
John R Barker 94660f792a Add openvswitch_db tests (#26330)
openvswitch_db tests were added during 2.4 development, though the
module still existed in 2.3, so backport the tests.

This is needed for distributed-ci.
8 years ago
Matt Davis b1e0f78a07 fix win_updates failure with dict-typed args
Switch to dicts in common code caused silent failures during arg translation, so default values and non-check-mode were always used.
* fixes #23653
* fixes #24062
* fixes #22938
* fixes #25156
(cherry picked from commit e6f364e2d6)

(cherry picked from commit 95fead611c)
8 years ago
Matt Davis 888096ec4c 2.3.2 CHANGELOG update for win_updates and non-pipelined fixes
(cherry picked from commit 2a6e5eedb7)
8 years ago
René Moser 0c31f31385 cloudstack: cs_template: default is_routing=None, fixes template upload for users (#26248)
(cherry picked from commit 363761fc16)
8 years ago
Matt Clay e36f568194 Limit yamllint version on python 2.6.
(cherry picked from commit 55aec8ebc9)
8 years ago
Julien Vey 6ad5a31437 parted: Add missing LC_TYPE override for env vars (#26242)
(cherry picked from commit 7f6c7c6334)
8 years ago
Trishna Guha 269550993d fix nxos_feature (#26132)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
8 years ago
Virgil Dupras e943505ab2 letsencrypt: FIX CN parsing to work with OpenSSL 1.1 (#25935)
As we can see in
9537453586
:

CN used to be without whitespaces around the `=` but OpenSSL 1.1 introduced
whitespaces:
1.0.1: subject=/CN=example.com
1.1.0: subject=CN = example.com

This commit makes them optional.

OpenSSL 1.1 is present on the newly-released Debian Stretch, so absence
of this fix makes us not being able to use this module on this distro.
(cherry picked from commit 9474f20f2d)
8 years ago