--- - name: create {{path_system_lock_script}} copy: src: system-maintenance-lock.py dest: "{{path_system_lock_script}}" when: run_once_system_maintenance_lock is not defined ## Runtime Variable Setting - name: run the system_maintenance_service_freezer tasks once set_fact: run_once_system_maintenance_lock: true when: run_once_system_maintenance_lock is not defined