Commit Graph

1239 Commits (db9cb0682ded5a6ef57cd02c2d5f059efd64d0be)

Author SHA1 Message Date
Mitsuru Nakakawaji db9cb0682d fix: docker_swarm_service does not publish both tcp and udp ports (#60616)
* fix: docker_swarm_service does not publish both tcp and udp ports for same published port

* fix the linting problems and add the changelog fragment.

* add test

* modify test to ensure result rather than return value

(cherry picked from commit 064cd63f3d)
6 years ago
Felix Fontein 06623fb79a openssl_certificate: fix idempotency (#60745)
* Fix openssl_certificate idempotency.

* Add changelog.

* Add integration test.

(cherry picked from commit 0d88ec241f)
6 years ago
Klaus Frank ec50e1191f Backport: win_domain reboot required exception incorrectly reported (#60496) (#60809)
* win_domain reboot required exception incorrectly reported (#60496)

* Set reboot required dependent on exception message.

* Use exception id instead of it's message

* Add changelog fragment
6 years ago
Sloane Hertel b77abd0491 Warn when transforming constructed groups (#60912)
* Warn when transforming constructed groups

The `keyed_groups` field has used sanitization since 2.6, but `groups` only started doing so in 2.8.
This adds a warning for the change in behavior.

* changelog

(cherry picked from commit 3247626ac7)
6 years ago
Sam Doran 0bc1285987 [stable-2.8] fixes issue with recieve parameter idempotency (#59999) (#60541)
* [stable-2.8] fixes issue with recieve parameter idempotency (#59999)

fixes assert statements in unit tests
(cherry picked from commit c9a9621a02)

Co-authored-by: Wojciech Wypior <w.wypior@f5.com>

* Add changelog
6 years ago
Swartz, Nathan 6fc1f3ab1c Add changelog fragment for backporting PR #57096 to stable-2.8 branch 6 years ago
Toshio Kuratomi c4902421d9 New release v2.8.4 6 years ago
Martin Nečas 768e515a3e Ovirt host update force docs backport (#60475)
* add changelog

* Ovirt host update force docs (#60202)

* update docs

* update pep8 syntax

* update pep8 syntax
6 years ago
Gonéri Le Bouder 51a849c89f vmware_datastore_facts: don't modify dict in iter
With Python3, we cannot iterate on a dict and modify it at the same time.

Fixes #54869

(cherry picked from commit 339a0f4a8c)
7 years ago
Maxim Babushkin 282ab4cb72 openssh_keypair - Add public key and key comment validation (#57993)
- Split the key validation to separate private and public.
- In case public key does not exist, recreate it.
- Validate comment of the key.
- In case comment changed, update the private and public keys.

(cherry picked from commit 27e414200f)
7 years ago
Shachaf92 4bac987591 Backport/2.8/58943 - win_domain_group_membership extar_vars forests env fix 7 years ago
yanzhangi d350269da1 update ce_acl to fix bugs (#60357)
* update ce_acl to fix bugs (#60274)

(cherry picked from commit 66c3e9bb9b)

* Update ce_acl modified information
7 years ago
yanzhangi 34d3a80fb5 update ce_aaa_server_host to fix bugs (#60356)
* update ce_aaa_server_host to fix bugs (#60272)

(cherry picked from commit 9aabe70452)

* Update ce_aaa_server_host modified information
7 years ago
yanzhangi f4aaf4d148 update ce_aaa_server to fix bugs (#60355)
* update ce_aaa_server to fix bugs (#60270)

* update ce_aaa_server to fix bugs

* update ce_aaa_server to fix bugs

(cherry picked from commit c2e7683926)

* Update ce_aaa_server modified information
7 years ago
Yaakov Selkowitz 5d3f0fe02c facts: fix double-counting of CPUs on POWER systems (#58360)
On POWER systems, /proc/cpuinfo provides a 'processor' entry as a
counter, and a 'cpu' entry with a description (similar to 'model name'
on x86). Support for POWER in get_cpu_facts was added via the 'cpu'
entry in commit 8746e692c1.  Subsequent
support for ARM64 in commit ce4ada93f9
used the 'processor' entry, resulting in double-counting of cores on
POWER systems.

When unit tests were later written for this code in
commit 55306906cf, the erroneous values
were just accepted in the test instead of being diagnosed.

Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
(cherry picked from commit 93d9d64038)
7 years ago
Manu Lange 8e56708e22 prevent recursive logging csharp stackoverflow. (#59503)
* prevent recursive logging situation.

* Add changelog

(cherry picked from commit 6a5cd9a820)
7 years ago
silverwizard 1eb11edb14 Removed breaking type check from nagios module (#49568)
* Removed extraneous type check from nagios module, in order to allow python 3.x

* Removed now useless import types

* Added changelog fragment

* Update changelog.

* Rebased and removed check due to module adding earlier guardrails

* Updated changelog to mention earlier fix adding now completely removed guardrails

* Remove superfluous type checks. Fix docs type.

* Update ignore.txt.

(cherry picked from commit 5d8302120b)
7 years ago
Jill R 08e23a2a93 Don't truncate cidr_ipv6 addresses in ec2_group.py (#59106)
* Better cidr_ipv6 validation in ec2_group.py

* Improve warning/error handling, add changelog

* Update unit test for ipv6 validation

* Fix logic that was causing non /128 cidrs with host bits to not be handled

(cherry picked from commit 4308b87d72)
7 years ago
Martin Nečas b4b76c924c Ovirt vnic profile fix backport (#60198)
* update vnic profile docs

* vnic profile fix

* merge updates

* add changelog
7 years ago
Toshio Kuratomi 0bcfb05bad Fix changelog entry for playbook_dir fix
The final version of the fix makes the addition in two places instead of
moving the single addition from one place to another

(cherry picked from commit 84e3c0ef1d)
7 years ago
Matt Martz f44eb33000 [stable-2.8] Move plugin loader playbook dir additions back to Playbook instead of PlaybookCLI (#59557)
* Move plugin loader playbook dir additions back to Playbook instead of PlaybookCLI. Fixes #59548

* Restore cli additions
(cherry picked from commit 923e218)

Co-authored-by: Matt Martz <matt@sivel.net>
7 years ago
Toshio Kuratomi 3b987ae53d Add CVE number to changelog 7 years ago
Alex Stephen b0e2d90dcf cherrypick 7 years ago
Alex Stephen 2d14c0ce70 no logging for service account contents (#60149)
* no logging for service account contents

* changelog

* fixes
7 years ago
Jordan Borean a02c5c4683 win_user - use proper error code when failing to validate creds (#60181)
(cherry picked from commit 45d0e5994a)
7 years ago
Xu Yuandong d497d5865b Backport/2.8/60075 ce_rollback: set mmi-mode enable to run commands and unset after running. (#60075) (#60084)
* set mmi-mode enable to run commands nad unset after running. (#60075)


(cherry picked from commit 16e237e095)

* add a changelog fragment.
7 years ago
James Cassell 56639d0f68 TRANSFORM_INVALID_GROUP_CHARS: document "ignore" option (#57318) (#60289)
Co-Authored-By: Alicia Cozine <879121+acozine@users.noreply.github.com>
(cherry picked from commit c954c07271)
7 years ago
Xu Yuandong 4e94423e41 Backport/2.8/60071 ce_config : It is necessary to undo mmi-mode enable after running commands. (#60071) (#60085)
* It is necessary to undo mmi-mode enable after running commands. (#60071)


(cherry picked from commit 13c8f7b00c)

* add a changelog fragment.
7 years ago
Andrey Klychkov 81a5183428 Backport/2.8/60105: turn off the default db warning where it doesn't make sense (#60107)
* Bugfix 60043: turn off the default db warning where it doesn't make sense (#60105)

(cherry picked from commit d2cc9f5f06)

* Backport of 60105: turn off the default db warning where it doesn't make sense
7 years ago
Matt Martz 978dd9f541 [stable-2.8] Fix async output with adhoc callbacks. Fixes #15988 (#59935)
(cherry picked from commit df6b8d2)

Co-authored-by: Matt Martz <matt@sivel.net>
7 years ago
yanzhangi 215aa73843 update ce_bgp_af to fix bugs (#60032)
* update ce_bgp_af to fix bugs (#59678)

* update ce_bgp_af to fix bugs

* update ce_bgp_af to fix bugs

* update ce_vrrp to fix bugs

* update ce_bgp_af to fix bugs

* update ce_bgp_af to fix bugs

(cherry picked from commit d6fd4eb8e6)

* Update ce_bgp_af modified information

* Update ce_bgp_af modified information
7 years ago
yanzhangi f75fbf94f8 update ce_vrrp to fix bugs (#60034)
* update ce_vrrp to resolve conflicts

* Update ce_vrrp modified information

* Update ce_vrrp modified information
7 years ago
Xu Yuandong 777395ec18 Backport/2.8/59690 ce_netstream_template: update to fix a bug. (#59690) (#60033)
* ce_netstream_template: update to fix a bug. (#59690)

* update to fix a bug.

* Update ce_netstream_template.py

* Update ce_netstream_template.py

* Update ce_netstream_template.py

(cherry picked from commit adfbd04b3a)

* add  a changelog fragment.
7 years ago
Felix Fontein feb39dc35a docker_container: fix port bindings with IPv6 addresses (#59715)
* Pass IPv6 addresses for port bindings without square brackets.

* Add changelog.

* Add test.

(cherry picked from commit a7573102bc)
7 years ago
Ruediger Pluem 22ab4683df Only error out if the gid exists with a different group name (#59769)
Only error out if the gid exists with a different group name as
otherwise it will error out if the group with this gid already
exists, like on a rerun of the playbook. This fixes a regression
introduced by 4898b0a4a298448677c2aee2a03157ba5b662759.(cherry picked from commit f94772f807)
7 years ago
Sam Doran a55d6c37ec [stable-2.8] Handle new output for podman image build (#59807)
(cherry picked from commit 372f21e3b5)

Co-authored-by: Sam Doran <sdoran@redhat.com>
7 years ago
James Cassell a307a6a89a os_subnet: allow using non-default subnet pool (#52608)
(cherry picked from commit 17f2b5f73e)
7 years ago
Jill Rouleau 678b9c1b3c Use correct extension on changelog fragment 7 years ago
Jill Rouleau 7edc4be583 backport aws_s3: Improve ETag handling (#46332) 7 years ago
flowerysong 38a7dfca26 aws_s3: Improve ETag handling (#46332)
* cosmetic: Remove useless call to ec2_argument_spec()

* aws_s3: Improve ETag handling

* Extract ETag calculation into a utility function for reuse by
  aws_s3_sync.
* Reduce code duplication in put/get by restructuring the logic
* Only calculate ETag when overwrite == different
* Fail gracefully when overwrite == different and MD5 isn't available
  (e.g. due to FIPS-140-2).

* aws_s3: clean up integration tests

Clean up tests, add tests for overwrite settings in both directions.

(cherry picked from commit c513c1e2d3)
7 years ago
Brian Coca d39488ece4 prevent templating of passwords from prompt (#59246)
* prevent templating of passwords from prompt

  fixes CVE-2019-10206

(cherry picked from commit e9a37f8e31)
7 years ago
Brian Coca 67fe363297 Fix strat inv (#58982)
* Fix strategy functions that update inventory

* added tests


(cherry picked from commit a7b14ec1be)
7 years ago
Martin Nečas e2df33563c backport fix qos update ovirt_vnic_profile (#59862)
Update ovirt_vnic_profile.py (#56518)

qos is not defined when port_mirroring is enabled, a NoneType is returned for entity.qos in this case
getattr is safer to use than using a direct call to entity.qos.name
7 years ago
Maciej Delmanowski 703618336f [stable-2.8] Don't warn if local user is found in user database (#56838)
If the 'local' parameter of the 'user' Ansible module is enabled, and
the user has been found in the local user database, don't emit
a warning, because this is an expected outcome.

Add changelog and integration tests

Co-authored-by: drybed <drybjed@gmail.com>
(cherry picked from commit 75be309242)

Co-authored-by: Maciej Delmanowski <drybjed@drybjed.net>
7 years ago
nicholaslong b6192a5ce8 Added changelog fragment for backport pr relating to pbrun become plugin default become_user. 7 years ago
Jordan Borean aabc0aff57 win_dsc - be more lenient with datetime parsing (#59703)
* win_dsc - be more lenient with datetime parsing

* Remove l that shouldn't be there

(cherry picked from commit 04ec47bdf1)
7 years ago
Jordan Webb 8af9c9ccc9 Add pipelining to podman connection plugin 7 years ago
Itai Malek ac1e647e55 [2.8] fixed _merge_dictionaries calls in GcpSession class
(cherry picked from commit c24b841c0a)
7 years ago
Xu Yuandong 77df9ddaa8 Backport/2.8/59689 ce_netstream_global: update to fix a bug. (#59689) (#59786)
* ce_netstream_global: update to fix a bug. (#59689)

* update to fix a bug.

* Update ce_netstream_global.py

(cherry picked from commit 3c7e8f7905)

* add a changelog fragment.
7 years ago
Pilou 11e087ff7a consul_session: improve documentation and add integration tests (#56392) (#59357)
* consul_session: Python 2.6 is always required on managed node
* consul_session: document all types
* consul_session: add doc for 'id' parameter
* consul_session: improve parameter descriptions
    - use formatting functions in descriptions
    - 'name' parameter is required when state=node
* consul_session: use required_if
* consul_session: add integration tests
* consul_session: use 'retry' with network dependent tasks
* Use ansible-ci-files bucket for consul binaries

Co-Authored-By: Matt Clay <matt@mystile.com>
(cherry picked from commit 5f8080aaa0)

* add a changelog fragment
7 years ago