From 29622e05acbf6b41aa84c584e4325e0d64009e93 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sat, 4 Mar 2023 22:59:54 +0200
Subject: [PATCH] Remove EA6350.

It's been decomissioned.
---
 Ansible/bootstrap.yaml                              | 1 -
 Ansible/hosts/all.yaml                              | 4 ----
 Ansible/roles/router/files/dhcpd.conf               | 5 -----
 Ansible/roles/router/files/hosts                    | 1 -
 Ansible/roles/router/files/unbound/shore.co.il.conf | 1 -
 Ansible/update.yaml                                 | 3 +--
 Ansible/wap.yaml                                    | 1 -
 7 files changed, 1 insertion(+), 15 deletions(-)

diff --git a/Ansible/bootstrap.yaml b/Ansible/bootstrap.yaml
index 53eb64b..e6fafa8 100644
--- a/Ansible/bootstrap.yaml
+++ b/Ansible/bootstrap.yaml
@@ -12,7 +12,6 @@
 
 - name: Bootstrap OpenWRT hosts
   hosts:
-    - ea6350
     - mr8300
   tags:
     - openwrt
diff --git a/Ansible/hosts/all.yaml b/Ansible/hosts/all.yaml
index 9b3735a..13da33b 100644
--- a/Ansible/hosts/all.yaml
+++ b/Ansible/hosts/all.yaml
@@ -8,10 +8,6 @@ all:
       ansible_host: ns4.shore.co.il
     kodi:
       ansible_host: kodi.shore.co.il
-    ea6350:
-      # We already log in as root.
-      ansible_become: false
-      ansible_host: ea6350.shore.co.il
     mr8300:
       # We already log in as root.
       ansible_become: false
diff --git a/Ansible/roles/router/files/dhcpd.conf b/Ansible/roles/router/files/dhcpd.conf
index 8fb0599..8596a93 100644
--- a/Ansible/roles/router/files/dhcpd.conf
+++ b/Ansible/roles/router/files/dhcpd.conf
@@ -17,11 +17,6 @@ subnet 192.168.3.0 netmask 255.255.255.0
     hardware ethernet 10:c3:7b:9c:b8:fa;
     fixed-address kodi.shore.co.il;
   }
-  host ea6350
-  {
-    hardware ethernet 60:38:E0:AE:19:4A;
-    fixed-address ea6350.shore.co.il;
-  }
   host host01
   {
     hardware ethernet 04:42:1a:ca:2c:87;
diff --git a/Ansible/roles/router/files/hosts b/Ansible/roles/router/files/hosts
index eeb1261..a9f8f98 100644
--- a/Ansible/roles/router/files/hosts
+++ b/Ansible/roles/router/files/hosts
@@ -1,7 +1,6 @@
 127.0.0.1	localhost
 ::1		localhost
 192.168.3.1	ns1
-192.168.3.11 ea6350.shore.co.il ea6350
 192.168.3.12 xbmc.shore.co.il xbmc kodi.shore.co.il kodi
 192.168.3.13 mr8300.shore.co.il mr8300
 192.168.3.17 host01.shore.co.il host01
diff --git a/Ansible/roles/router/files/unbound/shore.co.il.conf b/Ansible/roles/router/files/unbound/shore.co.il.conf
index 6baab09..419f24b 100644
--- a/Ansible/roles/router/files/unbound/shore.co.il.conf
+++ b/Ansible/roles/router/files/unbound/shore.co.il.conf
@@ -3,7 +3,6 @@ server:
     #local-zone: "shore.co.il." static
     access-control: 192.168.3.0/8 allow
     access-control: 127.0.0.0/8 allow
-    local-data: "ea6350.shore.co.il.        A   192.168.3.11"
     local-data: "kodi.shore.co.il.          A   192.168.3.12"
     local-data: "mr8300.shore.co.il.        A   192.168.3.13"
     local-data: "host01.shore.co.il.        A   192.168.3.17"
diff --git a/Ansible/update.yaml b/Ansible/update.yaml
index f728f08..136b095 100644
--- a/Ansible/update.yaml
+++ b/Ansible/update.yaml
@@ -141,7 +141,6 @@
 
 - name: Reboot wireless access point
   hosts:
-    - ea6350
     - mr8300
   tasks:
     - name: Reboot
@@ -155,7 +154,7 @@
 
 - name: Reboot the rest
   hosts:
-    - all:!ns1:!ea6350:!mr8300
+    - all:!ns1:!mr8300
   tasks:
     - name: Wait to re-establish the connection
       wait_for_connection:
diff --git a/Ansible/wap.yaml b/Ansible/wap.yaml
index 5c1bddb..6b2609e 100644
--- a/Ansible/wap.yaml
+++ b/Ansible/wap.yaml
@@ -1,6 +1,5 @@
 ---
 - hosts:
-    - ea6350
     - mr8300
   roles:
     - wap
-- 
GitLab