From f919496b5e3dbd11d3b5df6cd952472cee794fe6 Mon Sep 17 00:00:00 2001 From: satken2 Date: Mon, 14 Jun 2021 19:47:19 +0900 Subject: [PATCH] Add version_added parameter to documentation --- changelogs/fragments/209_add_mode_for_mount.yml | 2 +- plugins/modules/mount.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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.