forked from jakub/ansible
25 lines
973 B
YAML
25 lines
973 B
YAML
ansible_user: howard
|
|
ansible_password: "Papadopolus0" # English: SSH password for howard@portainer
|
|
ansible_connection: ssh
|
|
ansible_port: 22
|
|
|
|
# English: Force password/keyboard-interactive auth and disable pubkey for the target hop.
|
|
# This avoids cases where OpenSSH sticks to pubkey and never falls back to password in CI.
|
|
ansible_ssh_common_args: >-
|
|
-o StrictHostKeyChecking=no
|
|
-o UserKnownHostsFile=/dev/null
|
|
-o PreferredAuthentications=keyboard-interactive,password
|
|
-o PubkeyAuthentication=no
|
|
-o KbdInteractiveAuthentication=yes
|
|
-J root@192.168.69.2
|
|
|
|
# English: Make sure Ansible passes the password to SSH (older setups still read these).
|
|
ansible_ssh_pass: "Papadopolus0"
|
|
|
|
# English: If you need sudo later, keep become and provide sudo password.
|
|
ansible_become: true
|
|
ansible_become_method: sudo
|
|
ansible_become_password: "Papadopolus0"
|
|
|
|
# English: Pipelining reduces SSH roundtrips and avoids TTY prompts in some sudo configs.
|
|
ansible_ssh_pipelining: true |