From a36a28f48062617237ab08d66fd261924a047cac Mon Sep 17 00:00:00 2001 From: faten Date: Mon, 20 Jan 2025 20:00:41 +0000 Subject: [PATCH] v3 --- host_vars/stg-feten-vm2.ini | 1 + hosts | 7 ++----- 2 files changed, 3 insertions(+), 5 deletions(-) create mode 100644 host_vars/stg-feten-vm2.ini diff --git a/host_vars/stg-feten-vm2.ini b/host_vars/stg-feten-vm2.ini new file mode 100644 index 0000000..704af77 --- /dev/null +++ b/host_vars/stg-feten-vm2.ini @@ -0,0 +1 @@ +ansible_host: 50.255.97.186 diff --git a/hosts b/hosts index a1f4b1f..5c7a6f3 100644 --- a/hosts +++ b/hosts @@ -1,6 +1,3 @@ -[vms] -vm2 ansible_host=51.255.97.186 +[all] +stg-feten-vm2 -[vms:vars] -ansible_user=ubuntu -ansible_ssh_private_key_file=/home/ubuntu/.ssh/id_rsa