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). diff --git a/plugins/modules/mount.py b/plugins/modules/mount.py index 3020bb3..2c612d7 100644 --- a/plugins/modules/mount.py +++ b/plugins/modules/mount.py @@ -115,7 +115,7 @@ options: - Note that after running this task and device being successfuly mounted, the mode of the original directory will be hidden by the target device. type: raw - required: false + version_added: '1.3.0' notes: - As of Ansible 2.3, the I(name) option has been changed to I(path) as default, but I(name) still works as well.