Hello ,
I am new to Ansible and not sure if am doing anything wrong. I have an
ansible playbook to start the cassandra process. I see that the remote init
script runs perfectly on some hosts and does not on other. The script just
does not start the process nor does print any error. Help me out if am
missing anything.
Playbook:
---
hosts: [myhosts]
serial: 1
become: yes
tasks:
- name: start Cassandra
shell: /etc/init.d/cassandra start
async: true
poll: 0
- name: Wait for Cassandra to start
wait_for:
host: "{{ansible_default_ipv4.address}}"
port: 9042
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/d1daad08-5b99-4fb6-9829-4c1dc9d03c1d%40googlegroups.com.