From 6c960de854c01ba36ba4f7fe3683e3c6c4563515 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Fri, 1 May 2020 11:45:25 +0100 Subject: [PATCH] Update hosts.yml format --- tools/ansible/hosts.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tools/ansible/hosts.yml b/tools/ansible/hosts.yml index 37dc3ac..16d7e5c 100644 --- a/tools/ansible/hosts.yml +++ b/tools/ansible/hosts.yml @@ -1,5 +1,7 @@ all: - hosts: + children: webservers: - ansible_ssh_host: 192.168.33.10 - ansible_ssh_port: 22 + hosts: + 192.168.33.10: + vars: + ansible_ssh_port: 22