Skip to content

Commit

Permalink
Set default=no in import_role and include_role for private. Fixes ans…
Browse files Browse the repository at this point in the history
  • Loading branch information
sivel authored and Alexander Bethke committed May 15, 2018
1 parent 6d7d0f4 commit 0785a19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/ansible/modules/utilities/logic/import_role.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
- 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.
'''
Expand Down
1 change: 1 addition & 0 deletions lib/ansible/modules/utilities/logic/include_role.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
- 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
Expand Down

0 comments on commit 0785a19

Please sign in to comment.