From c8dd89681bf05512abfff92a78990cb98005d995 Mon Sep 17 00:00:00 2001 From: Sandwich Date: Wed, 30 Oct 2024 14:10:37 +0100 Subject: [PATCH] move vm_ip back since it is not a permanent/static variable --- main.yml | 1 - vars_example.yml | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/main.yml b/main.yml index f4f31d8..00263ff 100644 --- a/main.yml +++ b/main.yml @@ -41,7 +41,6 @@ ansible_password: "{{ user_password }}" ansible_become_password: "{{ user_password }}" ansible_ssh_extra_args: '-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' - vm_ip: "{{ inventory_hostname }}/24" pre_tasks: - name: Set ansible_python_interpreter when: os | lower in ["almalinux", "rhel9", "rhel8", "rocky"] diff --git a/vars_example.yml b/vars_example.yml index 5628bd6..4ea19b1 100644 --- a/vars_example.yml +++ b/vars_example.yml @@ -1,3 +1,4 @@ +vm_ip: "{{ inventory_hostname }}/24" install_type: "virtual" cis: false