mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-15 08:30:46 +02:00
8 lines
295 B
YAML
8 lines
295 B
YAML
---
|
|
# This is necessary to flush the handlers before the when is set, because otherwise the when will be attached to the handlers
|
|
|
|
- meta: flush_handlers
|
|
|
|
- name: Set “run-once” fact for role {{ role_name }}
|
|
set_fact:
|
|
"{{ 'run_once_' + (role_name | lower | replace('-', '_')) }}": true |