commit ea8b6f5146f89352f4ddc605f36b99b1e25d67f9
parent b32b1f96961f76d0cc3611856cd5b9570015e3b3
Author: Asher Morgan <asher@ashermorgan.net>
Date: Sun, 16 Aug 2026 15:20:49 -0700
Address bug with plays run on implicit localhost
Diffstat:
4 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/demo/ansible.cfg b/demo/ansible.cfg
@@ -0,0 +1,2 @@
+[defaults]
+inventory = inventory.yml
diff --git a/demo/inventory.yml b/demo/inventory.yml
@@ -0,0 +1,3 @@
+all:
+ hosts:
+ myhost:
diff --git a/demo/playbook.yml b/demo/playbook.yml
@@ -1,4 +1,4 @@
- name: My play
- hosts: localhost
+ hosts: myhost
tasks:
- ping:
diff --git a/install.py b/install.py
@@ -50,7 +50,7 @@ def fetch(args):
def main():
res = requests.post(f'{API}/runners/', json={
- 'host': 'localhost',
+ 'host': 'myhost',
})
assert res.status_code == 201
cookies = res.cookies