I am trying to create a pool using YAML as below (Note: I tried to executed the script as root user and as non-rrot user) IN both cases i am getting two
different errors.
inventory file
webl22-p1.gain.tcprod.local ansible_ssh_host=10.30.81.30
[webservers]
webl22-p1.gain.tcprod.local
[datacenter:children]
webservers
[datacenter:vars]
ansible_ssh_user=schaitanya
ansible_ssh_pass=**********
below is roles/loadbalancer/tasks/main.yaml