first sync
Some checks failed
Run ansible / run-ansible-playbook (push) Failing after 1m0s

This commit is contained in:
2025-02-10 19:19:30 +01:00
parent 6335c8b085
commit 5800cf9263
25 changed files with 307 additions and 0 deletions

View File

@ -0,0 +1,12 @@
# ansible vars
ansible_user: ubuntu
ansible_become: true
ansible_become_method: sudo
# nfs vars
nfs_server: 10.0.4.12
nfs_share: /mnt/share/swarm
mount_point: /share
# portainer vars
portainer_data: /share/portainer_data

16
inventory/inventory.yaml Normal file
View File

@ -0,0 +1,16 @@
all:
children:
managers:
hosts:
manager1:
ansible_host: 10.0.4.71
manager2:
ansible_host: 10.0.4.72
manager3:
ansible_host: 10.0.4.73
workers:
hosts:
worker1:
ansible_host: 10.0.4.74
worker2:
ansible_host: 10.0.4.75