From de3f32df4fa47ef5a1a6bddb2ccdef2dbb052736 Mon Sep 17 00:00:00 2001 From: Wojciech Sciesinski Date: Mon, 22 Jul 2019 23:12:23 +0200 Subject: [PATCH] Correct a documentation of the jenkins_plugin module (#59330) It's a backport of #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 c98c5affbef1ea..13f9f7a005eda6 100644 --- a/lib/ansible/modules/web_infrastructure/jenkins_plugin.py +++ b/lib/ansible/modules/web_infrastructure/jenkins_plugin.py @@ -33,9 +33,11 @@ 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 @@ - 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 6d329ce3dfad72..c55b59a66ec8f2 100644 --- a/test/sanity/validate-modules/ignore.txt +++ b/test/sanity/validate-modules/ignore.txt @@ -1159,6 +1159,5 @@ lib/ansible/modules/web_infrastructure/django_manage.py E326 lib/ansible/modules/web_infrastructure/gunicorn.py E322 lib/ansible/modules/web_infrastructure/htpasswd.py E326 lib/ansible/modules/web_infrastructure/jenkins_plugin.py E322 -lib/ansible/modules/web_infrastructure/jenkins_plugin.py E324 lib/ansible/modules/web_infrastructure/jira.py E322 lib/ansible/modules/web_infrastructure/jira.py E325