25 lines
1.1 KiB
INI
25 lines
1.1 KiB
INI
# The Ansible inventory for the menus. Every Site runs on the same box — emily,
|
|
# the rootless Podman host — so each entry names it and points at the vars file
|
|
# that describes it.
|
|
#
|
|
# cd ansible
|
|
# ansible-playbook --inventory=hosts playbook.yml # every Site
|
|
# ansible-playbook --inventory=hosts playbook.yml --limit hopsngrains
|
|
#
|
|
# This play carries no become: it writes rootless Quadlet units, which belong to
|
|
# whoever Ansible connects as, so it must connect as that user.
|
|
#
|
|
# ansible_host is written as the resolvable name rather than an ssh alias, so the
|
|
# inventory works on any machine, whatever its ~/.ssh/config says. emily has no
|
|
# DNS name yet, so that name is its address today; when DNS — or monoco's elastic
|
|
# address — moves to it at cutover, this is the one line that changes.
|
|
|
|
[menus]
|
|
hopsngrains ansible_host=emily var_file=vars/hopsngrains.yml
|
|
greatbear ansible_host=emily var_file=vars/greatbear.yml
|
|
hngmohali ansible_host=emily var_file=vars/hngmohali.yml
|
|
|
|
[all:vars]
|
|
ansible_user=tanshu
|
|
ansible_python_interpreter=/usr/bin/python3
|