move vm_ip back since it is not a permanent/static variable

This commit is contained in:
Sandwich 2024-10-30 14:10:37 +01:00
parent 9d4af56976
commit c8dd89681b
2 changed files with 1 additions and 1 deletions

View File

@ -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"]

View File

@ -1,3 +1,4 @@
vm_ip: "{{ inventory_hostname }}/24"
install_type: "virtual"
cis: false