awesome-kyuubi / hadoop-testing

Testing Sandbox for Hadoop Ecosystem Components
Apache License 2.0
32 stars 13 forks source link

Update README.md #93

Open Adamyuanyuan opened 6 months ago

Adamyuanyuan commented 6 months ago

Ensure you specify the inventory file when running the playbook if it is not located in the default path or correctly recognized by Ansible. For instance, use ansible-playbook -i your_inventory_file playbook.yaml to explicitly define the inventory.

pan3793 commented 6 months ago

The comments are still confusing, actually, we defined inventory=hosts in the ansible.cfg, while if you have other effective ansible configurations, this one might not work.

Adamyuanyuan commented 6 months ago

I had to manually specify ansible-playbook -i hosts playbook.yaml for this to work, but it could also be the reason for my environment, it's a minor.