Skip to content

Commit 90c7a78

Browse files
committed
Added seperate k3s group
1 parent 68feb76 commit 90c7a78

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

ansible/bootstrap.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@
259259
- include_role:
260260
name: azimuth_cloud.image_utils.linux_ansible_init
261261

262-
- hosts: cluster
262+
- hosts: k3s
263263
become: yes
264264
tasks:
265265
- ansible.builtin.include_role:

ansible/roles/k3s/tasks/main.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,6 @@
4141
- name: k9s install
4242
ansible.builtin.include_role:
4343
name: k9s
44-
45-
46-
- name: Create ansible-init playbook install directory #TODO: move into ansible-init
47-
file:
48-
path: "/etc/ansible-init/playbooks"
49-
state: directory
5044

5145
- name: Install k3s server ansible-init playbook
5246
copy:

environments/common/inventory/groups

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,3 +135,6 @@ freeipa_client
135135

136136
[ansible_init]
137137
# Hosts to run linux-anisble-init
138+
139+
[k3s]
140+
# Hosts to run k3s server/agent

environments/common/layouts/everything

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,8 @@ openhpc
8181

8282
[ansible_init:children]
8383
# Hosts to run ansible-init
84-
cluster
84+
cluster
85+
86+
[k3s:children]
87+
# Hosts to run k3s server/agent
88+
cluster

0 commit comments

Comments
 (0)