Update fix-new-vms.yml

This commit is contained in:
2025-12-13 15:58:37 +00:00
parent df55e85189
commit 59c00c5d23

View File

@@ -29,13 +29,20 @@
ansible_password: "{{ vm_pass }}" ansible_password: "{{ vm_pass }}"
ansible_become: true ansible_become: true
ansible_become_password: "{{ vm_pass }}" ansible_become_password: "{{ vm_pass }}"
ansible_connection: ssh
ansible_ssh_private_key_file: ""
ansible_ssh_common_args: >- ansible_ssh_common_args: >-
-o PreferredAuthentications=password -o PreferredAuthentications=password
-o PubkeyAuthentication=no -o PubkeyAuthentication=no
-o KbdInteractiveAuthentication=no
-o PasswordAuthentication=yes
-o IdentitiesOnly=yes -o IdentitiesOnly=yes
-o IdentityFile=/dev/null
-o StrictHostKeyChecking=no -o StrictHostKeyChecking=no
-o UserKnownHostsFile=/dev/null -o UserKnownHostsFile=/dev/null
- name: Show target - name: Show target
ansible.builtin.debug: ansible.builtin.debug:
msg: "Targeting {{ vm_user }}@{{ vm_ip }} (password SSH)" msg: "Targeting {{ vm_user }}@{{ vm_ip }} (password SSH)"