myos/ansible/roles/hosts/files/etc/local.d/ansible.start

3 lines
79 B
Bash

#!/bin/sh
cd /root && ( make ansible-pull > /var/log/ansible.log || reboot ) &