I am using Ubuntu on Windows for my Ansible client, and I was able to successfully set up a cluster on AWS using “ansible-playbook aws-setup.yml” and “ansible-playbook install-aerospike.yml”, however I am getting error for “ansible-playbook aerospike-monitoring-setup.yml”:
TASK [Install grafana (Amzn Linux)] ****************************************************************************************************************************************************************************************************************
ok: [ec2-3-95-7-71.compute-1.amazonaws.com]
TASK [Set up prometheus config directory] **********************************************************************************************************************************************************************************************************
ok: [ec2-3-95-7-71.compute-1.amazonaws.com]
TASK [Get cluster ip addresses] ********************************************************************************************************************************************************************************************************************
ok: [ec2-3-95-7-71.compute-1.amazonaws.com]
TASK [Get cluster ip addresses] ********************************************************************************************************************************************************************************************************************
ok: [ec2-3-95-7-71.compute-1.amazonaws.com] => (item=ec2-44-199-191-102.compute-1.amazonaws.com)
ok: [ec2-3-95-7-71.compute-1.amazonaws.com] => (item=ec2-54-197-122-123.compute-1.amazonaws.com)
ok: [ec2-3-95-7-71.compute-1.amazonaws.com] => (item=ec2-54-226-254-248.compute-1.amazonaws.com)
TASK [Get client ip addresses] *********************************************************************************************************************************************************************************************************************
fatal: [ec2-3-95-7-71.compute-1.amazonaws.com]: FAILED! => {"msg": "'dict object' has no attribute 'aerospike_client'"}
PLAY RECAP *****************************************************************************************************************************************************************************************************************************************
ec2-3-95-7-71.compute-1.amazonaws.com : ok=9 changed=1 unreachable=0 failed=1 skipped=6 rescued=0 ignored=0
localhost : ok=3 changed=0 unreachable=0 failed=0 skipped=10 rescued=0 ignored=0