1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fixing state=present for jenkins_plugin module (#52051)

This commit is contained in:
Jiri Tyr 2019-02-18 15:18:49 +00:00 committed by John R Barker
parent 687279c7bd
commit 5f4840aaa8

View file

@ -478,7 +478,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()