rqlite refine

This commit is contained in:
Bartal Læarsson
2025-03-03 14:03:20 +00:00
parent f66be725b2
commit 0312778ef4
2 changed files with 36 additions and 11 deletions
+25
View File
@@ -0,0 +1,25 @@
---
all:
children:
rqlite_cluster:
children:
rqlite_leader:
hosts:
rqlite1:
ansible_host: 10.57.249.162
rqlite_followers:
hosts:
rqlite2:
ansible_host: 10.57.249.245
rqlite3:
ansible_host: 10.57.249.178
vars:
rqlite_nodes:
- rqlite1
- rqlite2
- rqlite3
vars:
ansible_user: ubuntu
ansible_become: yes
ansible_ssh_private_key_file: /home/bl/.ssh/id_rsa_provisioning
ansible_ssh_common_args: '-o StrictHostKeyChecking=no'
+11 -11
View File
@@ -1,16 +1,16 @@
--- ---
# ansible/playbooks/rqlite.yml # ansible/playbooks/rqlite.yml
- name: Common configuration for all rqlite nodes #- name: Common configuration for all rqlite nodes
hosts: rqlite_cluster # hosts: rqlite_cluster
become: yes # become: yes
vars_files: # vars_files:
- ../defaults/rqlite.yml # - ../defaults/rqlite.yml
tags: # tags:
- common # - common
tasks: # tasks:
- include_tasks: ../tasks/kubernetes/setup-hosts.yml # - include_tasks: ../tasks/rqlite/setup-hosts.yml
- include_tasks: ../tasks/kubernetes/update-dns.yml # - include_tasks: ../tasks/rqlite/update-dns.yml
- include_tasks: ../tasks/kubernetes/ssh.yml # - include_tasks: ../tasks/rqlite/ssh.yml
- name: Setup all rqlite nodes - name: Setup all rqlite nodes
hosts: rqlite_cluster hosts: rqlite_cluster