move vm_ip back since it is not a permanent/static variable
This commit is contained in:
parent
9d4af56976
commit
c8dd89681b
1
main.yml
1
main.yml
@ -41,7 +41,6 @@
|
|||||||
ansible_password: "{{ user_password }}"
|
ansible_password: "{{ user_password }}"
|
||||||
ansible_become_password: "{{ user_password }}"
|
ansible_become_password: "{{ user_password }}"
|
||||||
ansible_ssh_extra_args: '-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no'
|
ansible_ssh_extra_args: '-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no'
|
||||||
vm_ip: "{{ inventory_hostname }}/24"
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- name: Set ansible_python_interpreter
|
- name: Set ansible_python_interpreter
|
||||||
when: os | lower in ["almalinux", "rhel9", "rhel8", "rocky"]
|
when: os | lower in ["almalinux", "rhel9", "rhel8", "rocky"]
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
vm_ip: "{{ inventory_hostname }}/24"
|
||||||
install_type: "virtual"
|
install_type: "virtual"
|
||||||
cis: false
|
cis: false
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user