From d536e167c0e20043d4cfa58de2283533ce4bc54f Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sat, 3 Apr 2021 09:07:17 -0500 Subject: [PATCH] Only run apt updates on apt machines. --- tasks/miner/cron/ansible.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks/miner/cron/ansible.yml b/tasks/miner/cron/ansible.yml index 45a154b..df8a7a9 100644 --- a/tasks/miner/cron/ansible.yml +++ b/tasks/miner/cron/ansible.yml @@ -22,4 +22,5 @@ job: sudo apt update && sudo apt dist-upgrade -y special_time: reboot state: present - disabled: yes \ No newline at end of file + disabled: yes + when: ansible_pkg_mgr == "apt"