Set default=no in import_role and include_role for private. Fixes #21077 (#39566)

This commit is contained in:
Matt Martz 2018-05-01 12:19:04 -05:00 committed by GitHub
parent 6acdc36317
commit 65049b6c42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -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.
'''

View file

@ -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