diff options
author | Wojciech Sciesinski <it-praktyk@users.noreply.github.com> | 2019-07-22 23:12:23 +0200 |
---|---|---|
committer | Alicia Cozine <879121+acozine@users.noreply.github.com> | 2019-07-22 16:12:23 -0500 |
commit | de3f32df4fa47ef5a1a6bddb2ccdef2dbb052736 (patch) | |
tree | 1601585a847ae0d356067a59b1a5545f0fb3c225 | |
parent | 3f0de5c438ac67e66277074d9a06baf3f6edbe83 (diff) | |
download | ansible-de3f32df4fa47ef5a1a6bddb2ccdef2dbb052736.tar.gz |
Correct a documentation of the jenkins_plugin module (#59330)
It's a backport of #59139
-rw-r--r-- | lib/ansible/modules/web_infrastructure/jenkins_plugin.py | 4 | ||||
-rw-r--r-- | 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 c98c5affbe..13f9f7a005 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 6d329ce3df..c55b59a66e 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 |