commit 3b58d451ac497e5eb2a4ce839e2e1e6a5b7e916d
parent 5ea254e050898597d0ae74319d0511d30d70fbe5
Author: Florian Dold <florian@dold.me>
Date: Mon, 24 Feb 2025 00:39:49 +0100
podman localhost inventory
Diffstat:
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/inventories/default b/inventories/default
@@ -1,6 +1,7 @@
[testing]
fdold-acai ansible_port=22 ansible_user=root ansible_host=188.245.187.147
rusty.taler-ops.ch ansible_port=22 ansible_user=root
+podman-localhost ansible_port=8022 ansible_host=127.0.0.1
[production]
spec ansible_port=22 ansible_user=root ansible_host=spec.taler-ops.ch
diff --git a/test.sh b/test.sh
@@ -22,7 +22,8 @@ ssh-keygen -f "$HOME/.ssh/known_hosts" -R "[127.0.0.1]:8022"
# NOTE: Trailing comma is correct (and required) in agument for -i flag
ansible-playbook \
--verbose \
- -i 127.0.0.1:8022, \
+ -i inventories/default \
+ -l "podman-localhost"
--user root \
playbooks/setup.yml \
--extra-vars "@playbooks/test-secrets.yml" \