Failed/Unreachable hosts are excluded from this list. List of hosts in the current play run, not limited by the serial. Failed/Unreachable hosts are not considered ‘active’. List of active hosts in the current play run limited by the serial, aka ‘batch’. Please refer to ansible_parent_role_names for the order of items in this list.
If role B then includes role C, the list becomes.
It is also possible that a specific role exists more than once in this list.įor example: When role A includes role B, inside role B, ansible_parent_role_names will equal to. When multiple inclusions occur, this list lists the last role (in other words, the role that included this role) as the first item in the list. When the current role is being executed by means of an include_role or import_role action, this variable contains a list of all parent roles, with the most recent role (in other words, the role that included/imported this role) being the first item in the list. The name of the value provided to loop_control.index_var. The name of the value provided to loop_control.loop_var. List of sources used as inventory ansible_limitĬontents of the -limit CLI option for the current execution of Ansible ansible_loopĪ dictionary/map containing extended loop information when enabled via loop_control.extended ansible_loop_var Integer reflecting the number of maximum forks available to this run ansible_inventory_sources The names of the roles currently imported into the current play as dependencies of other plays ansible_diff_modeīoolean that indicates if we are in diff mode or not ansible_forks
#Magic lines serial full#
The full path of used Ansible configuration file ansible_dependent_role_names ansible_check_modeīoolean that indicates if we are in check mode or not ansible_config_file These variables cannot be set directly by the user Ansible will always override them to reflect internal state.