#Using netapp.ontap module with inventory file

1 messages · Page 1 of 1 (latest)

vocal pendant
#

Looking at Blackwells guide here: https://netapp.io/2019/07/17/running-a-playbook-against-multiple-ontap-clusters/
It looks like we're able to use the ansible inventory file, but what do I change if I don't want to send the command to all hosts?

For example, if I want to use the playbook on a group in the inventory file:
ansible-playbook -i /etc/ansible/hosts -l group playbook.yaml

Facebook Twitter LinkedIn In all the examples we have shared so far, we haven’t been using an inventory file; instead we are simply setting ‘hosts: localhost’.  A question I get […]