I'm writing a playbook. My workflow looks like this:
If the playbook is long enough it takes a lot of time rerun a playbook. Is there a way to run only the last(failed) task? or Can you propose the other way how to speed a process of playbook creation?
You may use --start-at-task
parameter of ansible-playbook
--start-at-task=START_AT
start the playbook at the task matching this name
Another option is to use --step
parameter that allows you to step through the playbook and decide what to run.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With