From aa407d8635e6caf9bd1802ea676fea552d1c9d5d Mon Sep 17 00:00:00 2001 From: Alicia Cozine Date: Mon, 12 Feb 2024 11:53:35 -0600 Subject: [PATCH] remove never-implemented 'allow_duplicates' param for include/import role modules --- lib/ansible/modules/import_role.py | 5 ----- lib/ansible/modules/include_role.py | 5 ----- 2 files changed, 10 deletions(-) diff --git a/lib/ansible/modules/import_role.py b/lib/ansible/modules/import_role.py index 719d4297b92..dda2822498e 100644 --- a/lib/ansible/modules/import_role.py +++ b/lib/ansible/modules/import_role.py @@ -38,11 +38,6 @@ options: - File to load from a role's C(defaults/) directory. type: str default: main - allow_duplicates: - description: - - Overrides the role's metadata setting to allow using a role more than once with the same parameters. - type: bool - default: yes handlers_from: description: - File to load from a role's C(handlers/) directory. diff --git a/lib/ansible/modules/include_role.py b/lib/ansible/modules/include_role.py index 9fa07034df6..6edce0b868d 100644 --- a/lib/ansible/modules/include_role.py +++ b/lib/ansible/modules/include_role.py @@ -45,11 +45,6 @@ options: - File to load from a role's C(defaults/) directory. type: str default: main - allow_duplicates: - description: - - Overrides the role's metadata setting to allow using a role more than once with the same parameters. - type: bool - default: yes public: description: - This option dictates whether the role's C(vars) and C(defaults) are exposed to the play. If set to V(true)