Private
Public Access
2
0
This commit is contained in:
2026-01-20 17:40:16 +03:00
parent cda556eec6
commit b78da80550
83 changed files with 108 additions and 82 deletions

View File

@@ -0,0 +1,31 @@
linux:
vars:
ansible_user: "root"
debian13:
vars:
ansible_python_interpreter: "/usr/bin/python3.13"
ubuntu24:
vars:
ansible_python_interpreter: "/usr/bin/python3.12"
waf:
hosts:
waf1:
waf2:
waf3:
mysql:
hosts:
sql1:
nfs:
hosts:
nfs1:
www:
hosts:
www1:
www2:
www3:

View File

@@ -0,0 +1,7 @@
#!/bin/sh
multipass list --format=json |jq '{
_meta: {hostvars: [.list[] | {(.name): {ansible_host: .ipv4[0]}}] | add},
linux: {hosts: [.list[].name]},
ubuntu24: {hosts: [.list[].name]},
}'