You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
. scoped vars, at the block or task level, are local to their scope and hence internal to the role, and can't collide with other variable types.
Accordingly to the current documentation, Ansible knowns 3 scopes global, play and local. If we create a new variable at block or task level, the variable has the scope of the current play.
Regards,
Carsten
The text was updated successfully, but these errors were encountered:
Hi,
I'm not sure, but I think the scope is wrong. It should be "play" and not "role".
automation-good-practices/inventories/README.adoc
Line 282 in ddbcee4
Accordingly to the current documentation, Ansible knowns 3 scopes global, play and local. If we create a new variable at block or task level, the variable has the scope of the current play.
Regards,
Carsten
The text was updated successfully, but these errors were encountered: