That seems obvious once I consider the YAML code, but I feel into that
trap of seeing actions as sub-tasks.
Should I note that in the playbook docs?
I don’t think so, because none of the examples show this. If we documented all the things you couldn’t do, the doc would be infinitely long
Could warn about that in the playbook parser, but would take time to
figure out.
It’s all in the YAML parser, technically YAML should probably warn about that, if anything it’s something to be fixed in PyYAML, if they are even interested.