From e8a7d891809906dde6dc484f3be16d3850609c4f Mon Sep 17 00:00:00 2001 From: Wojciech Sciesinski Date: Tue, 16 Jul 2019 17:46:18 +0200 Subject: [PATCH] Correct a documentation of the jenkins_plugin module (#59139) --- lib/ansible/modules/web_infrastructure/jenkins_plugin.py | 4 +++- test/sanity/validate-modules/ignore.txt | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) 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