les:` existed long before `include_role` and `import_role`. Many on
> the core team would say that `import_role` and `include_role` are the
> future. I personally would like to see `pre_tasks`, `roles`, and
> `post_tasks` deprecated. Time will tell...
>
> On Thu, Apr 23, 2020 at 4:11
obably mostly useless. The execution order is:
>
> pre_tasks
> roles
> tasks
> post_tasks
>
> On Thu, Apr 23, 2020 at 4:05 PM Ricardo Amaral
> wrote:
>
>> What exactly is the purpose of pre_tasks/post_tasks when one can just put
>> "pre" tasks befo
What exactly is the purpose of pre_tasks/post_tasks when one can just put "pre"
tasks before the main tasks and "post" tasks after the main tasks in the
"tasks" directive?
I've read the documentation many times and I can't understand the need for
them. I must be missing something here, right?
I'm writing an Ansible playbook to set up my Raspberry Pi so that I can
keep a versioned configuration and a way for me to quickly get a Pi up and
running in case I need to reset it or start from scratch.
This playbook has a bunch of tasks where some of them (very few) notify a
handler to