3
0
forked from jakub/ansible

Refactor portainer.yml and miniplay: remove hardcoded passwords for security, update comments for clarity, and enhance task descriptions.

This commit is contained in:
fencl
2025-10-03 15:43:43 +02:00
parent 9b111803c6
commit 060065e040
2 changed files with 7 additions and 12 deletions

View File

@@ -1,19 +1,13 @@
ansible_user: howard
ansible_password: "Papadopolus0" # English: SSH password for howard@portainer
ansible_connection: ssh
ansible_port: 22
ansible_ssh_private_key_file: "/var/lib/semaphore/.ssh/<tvuj_klic>" # English: private key path on Semaphore host
ansible_ssh_common_args: >-
-o StrictHostKeyChecking=no
-o UserKnownHostsFile=/dev/null
-J root@192.168.69.2
# English: We escalate to root via sudo.
# Only keep become if needed:
ansible_become: true
ansible_become_method: sudo
# English: SUDO password for howard (often same as SSH password; change if different).
ansible_become_password: "Papadopolus0"
# (Optional, for older installs—harmless to keep both)
ansible_ssh_pass: "Papadopolus0"
ansible_sudo_pass: "Papadopolus0"
# ansible_become_password: "..." # only if sudo requires password