summaryrefslogtreecommitdiffstats
path: root/lib/ansible/modules/blockinfile.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible/modules/blockinfile.py')
-rw-r--r--lib/ansible/modules/blockinfile.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/ansible/modules/blockinfile.py b/lib/ansible/modules/blockinfile.py
index 3ede6fd..6d32e4d 100644
--- a/lib/ansible/modules/blockinfile.py
+++ b/lib/ansible/modules/blockinfile.py
@@ -4,8 +4,7 @@
# Copyright: (c) 2017, Ansible Project
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-from __future__ import absolute_import, division, print_function
-__metaclass__ = type
+from __future__ import annotations
DOCUMENTATION = r'''
@@ -111,7 +110,7 @@ notes:
- As of Ansible 2.3, the O(dest) option has been changed to O(path) as default, but O(dest) still works as well.
- Option O(ignore:follow) has been removed in Ansible 2.5, because this module modifies the contents of the file
so O(ignore:follow=no) does not make sense.
- - When more then one block should be handled in one file you must change the O(marker) per task.
+ - When more than one block should be handled in one file you must change the O(marker) per task.
extends_documentation_fragment:
- action_common_attributes
- action_common_attributes.files