Edwin Fine
2015-07-29 20:06:00 UTC
Using ansible 1.9.0.1, if I combine --start-at-task="..." with
--list-tasks, it lists all tasks.
I would have expected it would list only the tasks beginning at
start-at-task, similar to using it with --tags='...'.
I couldn't find an issue report or relevant comments in the latest ansible
git log. Is there an issue I missed or should I open one?
---------------
Test run (Link to test playbook
<https://github.com/efine/misc/blob/master/test-start-at-tasks.yml>):
$ ansible-playbook -i localhost, test-start-at-tasks.yml
--start-at-task='Task 3' --list-tasks
Expected output:
playbook: test-start-at-tasks.yml
play #1 (localhost): TAGS: []
Task 3 TAGS: []
Task 4 TAGS: []
Actual output:
playbook: test-start-at-tasks.yml
play #1 (localhost): TAGS: []
Task 1 TAGS: []
Task 2 TAGS: []
Task 3 TAGS: []
Task 4 TAGS: []
--list-tasks, it lists all tasks.
I would have expected it would list only the tasks beginning at
start-at-task, similar to using it with --tags='...'.
I couldn't find an issue report or relevant comments in the latest ansible
git log. Is there an issue I missed or should I open one?
---------------
Test run (Link to test playbook
<https://github.com/efine/misc/blob/master/test-start-at-tasks.yml>):
$ ansible-playbook -i localhost, test-start-at-tasks.yml
--start-at-task='Task 3' --list-tasks
Expected output:
playbook: test-start-at-tasks.yml
play #1 (localhost): TAGS: []
Task 3 TAGS: []
Task 4 TAGS: []
Actual output:
playbook: test-start-at-tasks.yml
play #1 (localhost): TAGS: []
Task 1 TAGS: []
Task 2 TAGS: []
Task 3 TAGS: []
Task 4 TAGS: []
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+***@googlegroups.com.
To post to this group, send email to ansible-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/6501781c-3a85-4f2b-b5e4-71922c98ae02%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+***@googlegroups.com.
To post to this group, send email to ansible-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/6501781c-3a85-4f2b-b5e4-71922c98ae02%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.