From d7735d3cc99a9fc1494051f51e5359e1c4c3569b Mon Sep 17 00:00:00 2001 From: Sato Kenta <33207653+satken2@users.noreply.github.com> Date: Mon, 14 Jun 2021 19:38:13 +0900 Subject: [PATCH 1/2] Fix description of the parameter Co-authored-by: Abhijeet Kasurde --- plugins/modules/mount.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/modules/mount.py b/plugins/modules/mount.py index 3020bb3..d79d8ba 100644 --- a/plugins/modules/mount.py +++ b/plugins/modules/mount.py @@ -107,12 +107,12 @@ options: default: no mode: description: - - The permission applied to create a new directory for mount point. + - The permission applied to create a new directory for the mount point. If the mount point already exists, this parameter is not used. - - This parameter only affects to the mount point itself. + - This parameter only affects the mount point itself. If this module creates multiple directories recursively, other directories follow the system's default umask. - - Note that after running this task and device being successfuly mounted, + - Note that after running this task and the device being successfully mounted, the mode of the original directory will be hidden by the target device. type: raw required: false From 30c73606dcebd2f9d229665ca3f15f9edb130b5f Mon Sep 17 00:00:00 2001 From: Sato Kenta <33207653+satken2@users.noreply.github.com> Date: Mon, 14 Jun 2021 19:41:00 +0900 Subject: [PATCH 2/2] correct changelog fragment Co-authored-by: Abhijeet Kasurde --- changelogs/fragments/209_add_mode_for_mount.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelogs/fragments/209_add_mode_for_mount.yml b/changelogs/fragments/209_add_mode_for_mount.yml index f56dbee..25bdbad 100644 --- a/changelogs/fragments/209_add_mode_for_mount.yml +++ b/changelogs/fragments/209_add_mode_for_mount.yml @@ -1,3 +1,3 @@ --- minor_changes: -- mount - add mode option to mount module (https://github.com/ansible-collections/ansible.posix/issues/163). +- mount - add ``mode`` parameter to mount module (https://github.com/ansible-collections/ansible.posix/issues/163).