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: