- Get inventory hosts from Apache Ambari
- Uses a YAML configuration file that ends with ambari.(yml|yaml)
This below requirements are needed on the local node that executes this plugin.
- Ansible > 2.7.0
- sudo pip3 install python-ambariclient
plugin: ambari
hostname: ambari-server.makayel.local
port: 8443
username: localuser
password: localpass
protocol: https
validate_ssl: False
ansible_user: nodesuser
ansible_ssh_pass: nodespass
ansible-inventory -i inventory/env.ambari.yml --list
ansible -i inventory/env.ambari.yml all -m ping
Michael Hatoum <[email protected]>