Skip to content

Commit a934489

Browse files
committed
hosts
1 parent 8ab3eff commit a934489

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

Diff for: host-initialization.yml

+15-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,25 @@
11
#!/usr/bin/env ansible-playbook
22
---
3+
- name: Network config
4+
hosts: localhost
5+
become: true
6+
gather_facts: false
7+
tags: [hostsfile]
8+
tasks:
9+
- name: Configure /etc/hosts
10+
ansible.builtin.include_role:
11+
name: clusterlust.hosts
312

413
- name: Network config
514
hosts: k8s_cluster
615
become: true
716
gather_facts: false
8-
pre_tasks:
17+
tags: [network]
18+
tasks:
19+
- name: Configure KubeBlocks
20+
ansible.builtin.include_role:
21+
name: clusterlust.kubeblocks
22+
923
- name: Disable firewalld
1024
ansible.builtin.systemd:
1125
name: firewalld

0 commit comments

Comments
 (0)