Update fix-new-vms.yml
This commit is contained in:
@@ -29,13 +29,20 @@
|
||||
ansible_password: "{{ vm_pass }}"
|
||||
ansible_become: true
|
||||
ansible_become_password: "{{ vm_pass }}"
|
||||
ansible_connection: ssh
|
||||
ansible_ssh_private_key_file: ""
|
||||
ansible_ssh_common_args: >-
|
||||
-o PreferredAuthentications=password
|
||||
-o PubkeyAuthentication=no
|
||||
-o KbdInteractiveAuthentication=no
|
||||
-o PasswordAuthentication=yes
|
||||
-o IdentitiesOnly=yes
|
||||
-o IdentityFile=/dev/null
|
||||
-o StrictHostKeyChecking=no
|
||||
-o UserKnownHostsFile=/dev/null
|
||||
|
||||
|
||||
|
||||
- name: Show target
|
||||
ansible.builtin.debug:
|
||||
msg: "Targeting {{ vm_user }}@{{ vm_ip }} (password SSH)"
|
||||
|
||||
Reference in New Issue
Block a user