From 7d2c71462d9ed7ed9b524b73c9c3868a1c0f1ed6 Mon Sep 17 00:00:00 2001 From: Sloane Hertel Date: Tue, 29 May 2018 20:06:46 -0400 Subject: [PATCH] gluster_volume: add 'volume' alias to 'name' param (#40845) * gluster_volume: add 'volume' alias to 'name' param * remove gluster_volume from validate-modules/ignore.txt --- lib/ansible/modules/storage/glusterfs/gluster_volume.py | 1 + test/sanity/validate-modules/ignore.txt | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/storage/glusterfs/gluster_volume.py b/lib/ansible/modules/storage/glusterfs/gluster_volume.py index 27c291c995..b13d0189d9 100644 --- a/lib/ansible/modules/storage/glusterfs/gluster_volume.py +++ b/lib/ansible/modules/storage/glusterfs/gluster_volume.py @@ -22,6 +22,7 @@ options: description: - The volume name. required: true + aliases: ['volume'] state: description: - Use present/absent ensure if a volume exists or not. diff --git a/test/sanity/validate-modules/ignore.txt b/test/sanity/validate-modules/ignore.txt index 7798d768c4..49a64f5d4f 100644 --- a/test/sanity/validate-modules/ignore.txt +++ b/test/sanity/validate-modules/ignore.txt @@ -1123,7 +1123,6 @@ lib/ansible/modules/source_control/gitlab_project.py E324 lib/ansible/modules/source_control/gitlab_project.py E326 lib/ansible/modules/source_control/gitlab_user.py E326 lib/ansible/modules/source_control/subversion.py E322 -lib/ansible/modules/storage/glusterfs/gluster_volume.py E322 lib/ansible/modules/storage/infinidat/infini_export.py E323 lib/ansible/modules/storage/infinidat/infini_export.py E324 lib/ansible/modules/storage/infinidat/infini_export_client.py E323