Thanks for the quick reply.

On Monday, July 4, 2022 at 3:11:39 PM UTC+8 [email protected] wrote:

> At the end you use that to decide if an apt task should be run that 
> updates the cache. 
>

I wonder where the "end" should be? Since each role's tasks contain both 
adding the sources.list and installing packages. It seems a task at the 
playbook can only either update the apt cache before all addings or after 
all installings.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/8661cd01-54de-4143-aa5f-0729cacf90afn%40googlegroups.com.

Reply via email to