Skip to content

Commit ca3f4ff

Browse files
committed
move gateway and only run ansible-init install during builder
1 parent c04fa61 commit ca3f4ff

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

ansible/bootstrap.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,14 +319,23 @@
319319
import_role:
320320
name: doca
321321

322-
- hosts: ansible_init
322+
- hosts: ansible_init:&builder
323323
gather_facts: yes
324324
become: yes
325325
tags: linux_ansible_init
326326
tasks:
327-
- include_role:
327+
- name: Install ansible-init
328+
ansible.builtin.include_role:
328329
name: azimuth_cloud.image_utils.linux_ansible_init
329330

331+
- hosts: gateway:&builder
332+
become: yes
333+
tags: gateway
334+
tasks:
335+
- name: Install ansible-init gateway playbook
336+
ansible.builtin.include_role:
337+
name: gateway
338+
330339
- hosts: k3s:&builder
331340
become: yes
332341
tags: k3s

ansible/fatimage.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,6 @@
6060

6161
- import_playbook: extras.yml
6262

63-
- name: Install gateway playbook
64-
hosts: gateway
65-
tags: gateway
66-
become: yes
67-
gather_facts: no
68-
tasks:
69-
- include_role:
70-
name: gateway
71-
7263
- hosts: builder
7364
become: yes
7465
gather_facts: yes

environments/common/layouts/everything

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ openondemand
8484
# Hosts to run TuneD configuration
8585

8686
[ansible_init:children]
87-
# Hosts to run linux-anisble-init
87+
# Hosts to run linux-ansible-init
8888
cluster
8989

9090
[sssd]

0 commit comments

Comments
 (0)