Title here
Summary here
# group a
webserver:
hosts:
# host a
ghost:
ansible_host: 10.0.0.100
ansible_port: 2222
# host b
gohugo:
ansible_host: 10.0.0.111
ansible_port: 2222
# group b
webserver:
hosts:
...
# test ping on all hosts
> ansible -m ping -i hosts all
# test ping on a single host
> ansible -m ping -i hosts ghost