summaryrefslogtreecommitdiff
path: root/changelogs/fragments
diff options
context:
space:
mode:
authorTobias Rüetschi <tr@brief.li>2019-04-12 21:20:36 +0200
committerToshio Kuratomi <a.badger@gmail.com>2019-04-12 12:20:36 -0700
commita79c57b1e1edf85e026f947d09a96207b86d6d76 (patch)
treeed737a2c52b07878c1c4532c5755b9824761bf78 /changelogs/fragments
parent6814d1cb576c319527dc844581a2ba96cc279ae7 (diff)
downloadansible-a79c57b1e1edf85e026f947d09a96207b86d6d76.tar.gz
Backport/2.7/55083 (#55141)
* The Univention modules have a issue with an unassigned variable. The variable diff is only assigned if state is 'present', else the variable is unused. But the module will return the diff variable as a return value. If the state isn't 'present' the module will fail with an python UnboundLocalError exception. (cherry picked from commit 26fa97922abb9bc197af5745e83c235c2d652116) * Add a changelog fragment for PR 55083. (cherry picked from commit b4ae654890a606bf5321c6b1a612d77de9ef47dd)
Diffstat (limited to 'changelogs/fragments')
-rw-r--r--changelogs/fragments/55083-univention-diff-UnboundLocalError.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/changelogs/fragments/55083-univention-diff-UnboundLocalError.yaml b/changelogs/fragments/55083-univention-diff-UnboundLocalError.yaml
new file mode 100644
index 0000000000..f7f8cfb86a
--- /dev/null
+++ b/changelogs/fragments/55083-univention-diff-UnboundLocalError.yaml
@@ -0,0 +1,6 @@
+bugfixes:
+ - udm_user - Fix issues when state is absent with undefined variable diff at the module return.
+ - udm_group - Fix issues when state is absent with undefined variable diff at the module return.
+ - udm_share - Fix issues when state is absent with undefined variable diff at the module return.
+ - udm_dns_zone - Fix issues when state is absent with undefined variable diff at the module return.
+ - udm_dns_record - Fix issues when state is absent with undefined variable diff at the module return.