| --- | |
| - hosts: '{{ hosts }}' | |
| remote_user: root | |
| roles: | |
| - apigee-opdk-setup-default-settings | |
| tasks: | |
| - name: Configure cassandra hosts | |
| cassandra_hosts: | |
| inventory_hostname: '{{ inventory_hostname }}' | |
| hostvars: '{{ hostvars }}' | |
| - name: get debug file | |
| become: yes | |
| fetch: | |
| src: ~/cass_host_file.json | |
| dest: hostvars | |
| - debug: var=cassandra_hosts |