From 424567edb1953472fca4df44d4aad02d7cf0795a Mon Sep 17 00:00:00 2001 From: mrwho Date: Sun, 17 May 2026 00:33:29 +0300 Subject: [PATCH] hosts change --- inventory/prod/hosts.yml | 2 +- playbooks/rocky9.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/inventory/prod/hosts.yml b/inventory/prod/hosts.yml index 44fc114..e790e45 100644 --- a/inventory/prod/hosts.yml +++ b/inventory/prod/hosts.yml @@ -19,4 +19,4 @@ all: ansible_host: 192.168.99.42 rocky9-template: - ansible_host: 192.168.99.43 \ No newline at end of file + ansible_host: 172.20.21.106 \ No newline at end of file diff --git a/playbooks/rocky9.yml b/playbooks/rocky9.yml index 48e22ff..fc68aee 100644 --- a/playbooks/rocky9.yml +++ b/playbooks/rocky9.yml @@ -18,11 +18,11 @@ - openssh vars: - #ansible_ssh_user: root - #ansible_ssh_password: nmklop90 + ansible_ssh_user: root + ansible_ssh_password: nmklop90 epel_repo: true reboot_system: false - hostname: "{{ ansible_hostname }}.local.mrwho.ru" + hostname: "{{ inventory_hostname }}.local.mrwho.ru" openssh_password_authentication: false openssh_permit_root_login: "no" # Completely disable root SSH