Remove template timestamps & move tasks to handlers

These changes will prevent services from being restarted without any changes
whenever no changes have been made
This commit is contained in:
Sonny Bakker 2024-03-16 10:36:59 +01:00
parent 7a57636bdb
commit 8e7d6db56b
29 changed files with 46 additions and 95 deletions

View file

@ -1,4 +1,2 @@
# {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }}
# Remove NVIDIA VGA/3D controller devices
ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x03[0-9]*", ATTR{power/control}="auto", ATTR{remove}="1"