We are trying to automate installation of cloudera using ansible, but we are facing errors -
we beginners ansible. when trying run install-cloudera-manager.yml facing below errors
task [install cm server] ******************************************************* failed: [************cloudapp.net] (item=cloudera-manager-daemons) => {"failed": true, "item": "cloudera-manager-daemons", "msg": "no package matching '$item' available"} failed: [***********cloudapp.net] (item=cloudera-manager-server-db) => {"failed": true, "item": "cloudera-manager-server-db", "msg": "no package matching '$item' available"} failed: [***********.cloudapp.net] (item=cloudera-manager-server) => {"failed": true, "item": "cloudera-manager-server", "msg": "no package matching '$item' available"}
we referring scripts below url: https://github.com/ymc-geko/ansible-cdh-cluster please
failing task is:
- name: install cm server action: apt pkg=$item state=latest with_items: - cloudera-manager-daemons - cloudera-manager-server-db - cloudera-manager-server
it uses early-ansible dollar-sign variables. unsupported years...
change apt pkg={{item}} state=latest
, try again.
project reference last updated in 2013, current ansible version has many changes since time. keep in mind.
Comments
Post a Comment