From b54d14c98e6b421229ce046b9f232a6c3209d923 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Mon, 14 Jul 2025 11:21:54 +0200 Subject: [PATCH] Rename host groups to host/instance --- ansible/inventory | 4 ++++ ansible/playbook.yaml | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ansible/inventory b/ansible/inventory index 040cf6c..8fea81f 100644 --- a/ansible/inventory +++ b/ansible/inventory @@ -1 +1,5 @@ +[host_system] bob ansible_ssh_private_key_file=~/.ssh/keys/bob + +[instance_system] +ansibletest ansible_connection=docker diff --git a/ansible/playbook.yaml b/ansible/playbook.yaml index 23e529d..45a17b4 100644 --- a/ansible/playbook.yaml +++ b/ansible/playbook.yaml @@ -1,6 +1,6 @@ --- - name: Prepare incus server host - hosts: incus_server + hosts: host_system tasks: - name: Prepare system ansible.builtin.import_role: @@ -15,7 +15,7 @@ # ansible-galaxy install geerlingguy.docker - name: Install docker - hosts: docker_instance + hosts: instance_system tasks: - name: Install docker and docker compose ansible.builtin.import_role: @@ -23,7 +23,7 @@ tags: docker - name: Prepare all docker hosted containers - hosts: docker_instance + hosts: instance_system tasks: - name: Set up Arr stack ansible.builtin.import_role: