From 65049b6c42b2b0a48a1ad8a85e76b5231287f7ec Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Tue, 1 May 2018 12:19:04 -0500 Subject: [PATCH] Set default=no in import_role and include_role for private. Fixes #21077 (#39566) --- lib/ansible/modules/utilities/logic/import_role.py | 1 + lib/ansible/modules/utilities/logic/include_role.py | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/ansible/modules/utilities/logic/import_role.py b/lib/ansible/modules/utilities/logic/import_role.py index 8cf9ad972fc..1ba9dbae2fa 100644 --- a/lib/ansible/modules/utilities/logic/import_role.py +++ b/lib/ansible/modules/utilities/logic/import_role.py @@ -53,6 +53,7 @@ options: - If C(yes) the variables from C(defaults/) and C(vars/) in a role will not be made available to the rest of the play. type: bool + default: 'no' notes: - Handlers are made available to the whole play. ''' diff --git a/lib/ansible/modules/utilities/logic/include_role.py b/lib/ansible/modules/utilities/logic/include_role.py index c6e866fe7f0..1518733cd85 100644 --- a/lib/ansible/modules/utilities/logic/include_role.py +++ b/lib/ansible/modules/utilities/logic/include_role.py @@ -52,6 +52,7 @@ options: - If C(yes) the variables from C(defaults/) and C(vars/) in a role will not be made available to the rest of the play. type: bool + default: 'no' notes: - Handlers are made available to the whole play. - Before Ansible 2.4, as with C(include), this task could be static or dynamic, If static, it implied that it won't