2 ################################################
 
   3 ### Managed by someone's ansible provisioner ###
 
   4 ################################################
 
   5 # Part of: https://git.somenet.org/root/pub/somesible.git
 
   6 # 2017-2025 by someone <someone@somenet.org>
 
  10 Description=Ansible autoselfheal
 
  11 ConditionPathIsDirectory=/var/ansible/ansible
 
  12 OnFailure=unit-status-mail@%n.service
 
  19 WorkingDirectory=/var/ansible/ansible
 
  20 ExecStart=/bin/bash -c 'set -o pipefail; sleep 120; ./run_somesible.sh -D -e ignore_online_errors=True 2>&1 | tee -a /var/log/ansible_autoselfheal.log; exit $?'