We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ansible 2.1.0.0 config file = /home/.../.ansible.cfg configured module search path = Default w/o overrides
Using default configuration.
N/A
Variable are not interpreted in task names using new free strategy (linear strategy was fixed in #10347 by 7bc789b)
free
linear
--- - hosts: all gather_facts: false become: false strategy: linear vars: { "variable": "VALUE" } tasks: - name: "Dynamic task name: {{ variable }}" debug: msg: "hello there" handlers: []
output is
PLAY [all] ********************************************************************* TASK [Dynamic task name: VALUE] ************************************************ ok: [localhost] => { "msg": "hello there" } PLAY RECAP ********************************************************************* localhost : ok=1 changed=0 unreachable=0 failed=0
--- - hosts: all gather_facts: false become: false strategy: free vars: { "variable": "VALUE" } tasks: - name: "Dynamic task name: {{ variable }}" debug: msg: "hello there" handlers: []
output is:
PLAY [all] ********************************************************************* TASK [Dynamic task name: {{ variable }}] *************************************** ok: [localhost] => { "msg": "hello there" } PLAY RECAP ********************************************************************* localhost : ok=1 changed=0 unreachable=0 failed=0
Same behavior in task names evaluation whatever strategy I'm using.
free strategy does not replace variable in tasks names.
This bug was originally reported by @grumpycatt.
The text was updated successfully, but these errors were encountered:
Properly template task names in free strategy
9c3447c
* Fixes ansible#16295
5035b8a
* Fixes #16295
Successfully merging a pull request may close this issue.
ISSUE TYPE
ANSIBLE VERSION
CONFIGURATION
Using default configuration.
OS / ENVIRONMENT
N/A
SUMMARY
Variable are not interpreted in task names using new
free
strategy (linear
strategy was fixed in #10347 by 7bc789b)STEPS TO REPRODUCE
linear
strategy:output is
free
strategy:output is:
EXPECTED RESULTS
Same behavior in task names evaluation whatever strategy I'm using.
ACTUAL RESULTS
free
strategy does not replace variable in tasks names.This bug was originally reported by @grumpycatt.
The text was updated successfully, but these errors were encountered: