Environment on task level doesn't override play level definition when used with loops #32685
Labels
affects_2.4
This issue/PR affects Ansible v2.4
bug
This issue/PR relates to a bug.
needs_info
This issue requires further information. Please answer any outstanding questions.
needs_template
This issue/PR has an incomplete description. Please fill in the proposed template correctly.
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
For example, the following yaml:
And execute:
ansible-playbook bug.yml -v
Task 'test 1' will have 'task level' in stdout
Task 'test 2' will loop 3 times with 'play level' in stdout
IF environment is not defined on play-level, 'test 2' will use the task-level setting.
ISSUE TYPE
ANSIBLE VERSION
The text was updated successfully, but these errors were encountered: