I'm getting this error when trying to use the role:
TASK [apigee-opdk-settings-cassandra : Construct cassandra hosts configuration inventory_hostname={{ inventory_hostname }}, hostvars={{ hostvars | to_json }}] ************************************************************************************************************
Tuesday 06 April 2021 09:26:40 -0500 (0:00:01.436) 0:01:02.905 *********
Tuesday 06 April 2021 09:26:40 -0500 (0:00:01.436) 0:01:02.904 *********
fatal: [apigee_000]: FAILED! => {"msg": "Unexpected templating type error occurred on ({{ hostvars | to_json }}): Object of type Role is not JSON serializable"}
fatal: [apigee_001]: FAILED! => {"msg": "Unexpected templating type error occurred on ({{ hostvars | to_json }}): Object of type Role is not JSON serializable"}
fatal: [apigee_002]: FAILED! => {"msg": "Unexpected templating type error occurred on ({{ hostvars | to_json }}): Object of type Role is not JSON serializable"}
fatal: [apigee_003]: FAILED! => {"msg": "Unexpected templating type error occurred on ({{ hostvars | to_json }}): Object of type Role is not JSON serializable"}
fatal: [apigee_004]: FAILED! => {"msg": "Unexpected templating type error occurred on ({{ hostvars | to_json }}): Object of type Role is not JSON serializable"}
Hi Carlos,
I'm getting this error when trying to use the role:
Here is my ansible information: