<div dir="ltr"><div><div><div>Hi,<br><br></div><div>I see that tasks.yaml is going to be deprecated in the future MOS versions [1]. I've got one question regarding the ordering of tasks between different plugins.<br></div><div>With tasks.yaml, it was possible to coordinate the execution of tasks between plugins without prior knowledge of which plugins were installed [2].<br></div><div>For example, lets say we have 2 plugins: A and B. The plugins may or may not be installed in the same environment and the tasks execution should be:<br></div><div>1. Run task X for plugin A (if installed).<br></div><div>2. Run task Y for plugin B (if installed).<br></div><div>3. Run task Z for plugin A (if installed).<br></div><div><br></div><div>Right now, we can set task priorities like:<br><br></div><div># tasks.yaml for plugin A<br></div>- role: ['*']<br>  stage: post_deployment/1000<br>  type: puppet<br>  parameters:<br>    puppet_manifest: puppet/manifests/task_X.pp<br>    puppet_modules: puppet/modules<br><br>- role: ['*']<br>  stage: post_deployment/3000<br>  type: puppet<br>  parameters:<br>    puppet_manifest: puppet/manifests/task_Z.pp<br>    puppet_modules: puppet/modules<br><br></div><div># tasks.yaml for plugin B<br></div>- role: ['*']<br><div>  stage: post_deployment/2000<br>  type: puppet<br>  parameters:<br>    puppet_manifest: puppet/manifests/task_Y.pp<br>    puppet_modules: puppet/modules<br><br><div>How would it be handled without tasks.yaml?<br></div><br></div><div>Regards,<br></div><div>Simon<br></div><div><br>[1] <a href="https://review.openstack.org/#/c/271417/">https://review.openstack.org/#/c/271417/</a><br>[2] <a href="https://wiki.openstack.org/wiki/Fuel/Plugins#Plugins_deployment_order">https://wiki.openstack.org/wiki/Fuel/Plugins#Plugins_deployment_order</a><br></div></div></div>