chore: refactor cni to seperate playbook
diff --git a/playbooks/cni.yml b/playbooks/cni.yml
new file mode 100644
index 0000000..d2f5863
--- /dev/null
+++ b/playbooks/cni.yml
@@ -0,0 +1,21 @@
+# Copyright (c) 2023 VEXXHOST, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
+- hosts: controllers[0]
+ gather_facts: false
+ become: true
+ roles:
+ - role: cilium
+ tags:
+ - cilium
diff --git a/playbooks/openstack.yml b/playbooks/openstack.yml
index 6abcbaa..2fe69d0 100644
--- a/playbooks/openstack.yml
+++ b/playbooks/openstack.yml
@@ -12,14 +12,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-- hosts: controllers[0]
- gather_facts: false
- become: true
- roles:
- - role: cilium
- tags:
- - cilium
-
- hosts: controllers
gather_facts: false
become: true
diff --git a/playbooks/site.yml b/playbooks/site.yml
index 2966d48..7bee417 100644
--- a/playbooks/site.yml
+++ b/playbooks/site.yml
@@ -14,4 +14,5 @@
- import_playbook: vexxhost.atmosphere.ceph
- import_playbook: vexxhost.atmosphere.kubernetes
+- import_playbook: vexxhost.atmosphere.cni
- import_playbook: vexxhost.atmosphere.openstack