diff --git a/tasks/miner/cron/ansible.yml b/tasks/miner/cron/ansible.yml index a79f31e..87956a1 100644 --- a/tasks/miner/cron/ansible.yml +++ b/tasks/miner/cron/ansible.yml @@ -26,7 +26,7 @@ user: mfn name: "Start {{ item.name }}" minute: "*/5" - job: "[[ ps -ef | grep -v 'grep'| grep -c '{{ item.command }}' == '0' ]] && {{ item.command }}" + job: "[[ ps -ef | grep -v 'grep' | grep -c '{{ item.command }}' == '0' ]] && {{ item.command }}" state: present disabled: "{{ not(item.enabled) }}" loop: "{{ miners }}"