From ff6d48453a4b6d4364bad6614045e28c7e6f8f12 Mon Sep 17 00:00:00 2001 From: mrwho Date: Sun, 17 May 2026 14:17:50 +0300 Subject: [PATCH] hosts --- inventory/prod/hosts.yml | 16 ++++++++-------- playbooks/rocky9.yml | 8 ++++---- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/inventory/prod/hosts.yml b/inventory/prod/hosts.yml index e790e45..639be46 100644 --- a/inventory/prod/hosts.yml +++ b/inventory/prod/hosts.yml @@ -11,12 +11,12 @@ all: # ansible_host: 80.211.195.127 # vm02: # ansible_host: 212.60.5.162 - ca: - ansible_host: 192.168.99.20 - kuber-ctl: - ansible_host: 192.168.99.41 - kuber-node01: - ansible_host: 192.168.99.42 +# ca: +# ansible_host: 192.168.99.20 + kube-ctl: + ansible_host: 172.20.21.200 + kube-node01: + ansible_host: 172.20.21.201 - rocky9-template: - ansible_host: 172.20.21.106 \ No newline at end of file +# rocky9-template: +# ansible_host: 172.20.21.106 \ No newline at end of file diff --git a/playbooks/rocky9.yml b/playbooks/rocky9.yml index ce626c0..08b41fa 100644 --- a/playbooks/rocky9.yml +++ b/playbooks/rocky9.yml @@ -1,8 +1,8 @@ --- - name: Initial Rocky9 Configuration - hosts: - - rocky9-template + hosts: all + # - rocky9-template # kuber-node01 # - 172.20.21.193 become: true @@ -18,8 +18,8 @@ - openssh vars: - ansible_ssh_user: root - ansible_ssh_password: nmklop90 + #ansible_ssh_user: root + #ansible_ssh_password: nmklop90 # ansible_ssh_user: root # ansible_ssh_password: nmklop90 epel_repo: true