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