diff --git a/lib/ansible/modules/web_infrastructure/jenkins_plugin.py b/lib/ansible/modules/web_infrastructure/jenkins_plugin.py index a0e641465fb..9430b7ab6ef 100644 --- a/lib/ansible/modules/web_infrastructure/jenkins_plugin.py +++ b/lib/ansible/modules/web_infrastructure/jenkins_plugin.py @@ -33,9 +33,11 @@ options: mode: description: - File mode applied on versioned plugins. + default: '0644' name: description: - Plugin name. + required: yes owner: description: - Name of the Jenkins user on the OS. @@ -84,7 +86,7 @@ options: - Defines whether to install plugin dependencies. - This option takes effect only if the I(version) is not defined. type: bool - default: 'yes' + default: yes notes: - Plugin installation should be run under root or the same user which owns diff --git a/test/sanity/validate-modules/ignore.txt b/test/sanity/validate-modules/ignore.txt index 54a535d9a8c..246160ed448 100644 --- a/test/sanity/validate-modules/ignore.txt +++ b/test/sanity/validate-modules/ignore.txt @@ -3649,7 +3649,6 @@ lib/ansible/modules/web_infrastructure/htpasswd.py E338 lib/ansible/modules/web_infrastructure/jenkins_job_info.py E338 lib/ansible/modules/web_infrastructure/jenkins_job.py E338 lib/ansible/modules/web_infrastructure/jenkins_plugin.py E322 -lib/ansible/modules/web_infrastructure/jenkins_plugin.py E324 lib/ansible/modules/web_infrastructure/jenkins_plugin.py E337 lib/ansible/modules/web_infrastructure/jenkins_plugin.py E338 lib/ansible/modules/web_infrastructure/jenkins_script.py E337