* Fixing state=present for jenkins_plugin module (#52051) (cherry picked from commit5f4840aaa8
) * Adding changelog fragment for PR #52051 (#52687) (cherry picked from commitee14b123f3
)
This commit is contained in:
parent
573a1106cd
commit
b8e8e2baa0
2 changed files with 3 additions and 1 deletions
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- jenkins_plugin - Prevent plugin to be reinstalled when state=present (https://github.com/ansible/ansible/issues/43728)
|
|
@ -477,7 +477,7 @@ class JenkinsPlugin(object):
|
|||
self._write_file(plugin_file, data)
|
||||
|
||||
changed = True
|
||||
else:
|
||||
elif self.params['version'] == 'latest':
|
||||
# Check for update from the updates JSON file
|
||||
plugin_data = self._download_updates()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue