3
0
forked from jakub/ansible

Refactor portainer.yml and check_stack_nextcloud.yml: restore ansible_password, enhance sudo settings, and improve command formatting for clarity.

This commit is contained in:
fencl
2025-10-03 15:30:32 +02:00
parent 52fcb80ec4
commit 004b560004
2 changed files with 23 additions and 6 deletions

View File

@@ -1,6 +1,14 @@
ansible_user: howard
ansible_password: "x"
ansible_password: "Papadopolus0" # TIP: Put this in Ansible Vault.
ansible_connection: ssh
ansible_port: 22
ansible_ssh_common_args: "-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -J root@192.168.69.2"
ansible_ssh_common_args: >-
-o StrictHostKeyChecking=no
-o UserKnownHostsFile=/dev/null
-J root@192.168.69.2
# If howard is NOT in the 'docker' group, we need sudo:
ansible_become: true
ansible_become_method: sudo
# If sudo asks for a password, also set:
# ansible_become_password: "*******" # ideally via Vault