mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Improved performance by executing tasks just once per host
This commit is contained in:
@@ -2,3 +2,9 @@
|
||||
package:
|
||||
name: sudo
|
||||
state: present
|
||||
when: run_once_sudo is not defined
|
||||
|
||||
- name: run the sudo tasks once
|
||||
set_fact:
|
||||
run_once_sudo: true
|
||||
when: run_once_sudo is not defined
|
Reference in New Issue
Block a user