From 35c7598f92eff18f2211d1f4fc7723b06f661d36 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Fri, 12 Mar 2021 21:54:28 +0200
Subject: [PATCH] Don't update the host as part of the router role.

It's already done better in the updates playbook.
---
 roles/router/tasks/main.yaml | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/roles/router/tasks/main.yaml b/roles/router/tasks/main.yaml
index b45b6b0..0b2e007 100644
--- a/roles/router/tasks/main.yaml
+++ b/roles/router/tasks/main.yaml
@@ -468,16 +468,6 @@
   tags:
     - sndiod
 
-- name: Update the host
-  command:
-    cmd: syspatch
-  register: syspatch
-  changed_when: "'Installing' in syspatch.stdout"
-  notify:
-    - Message about restarting the machine
-  tags:
-    - syspatch
-
 - name: Configure the SSH daemon
   include_tasks:
     file: '{{ playbook_dir }}/tasks/sshd_config.yaml'
-- 
GitLab