Hello Ansible Group, i recently had problems while i try to launch any services via Ansible playbook. I sent via Ansible these services to etc/systemd/system/zookeeper.services and /etc/systemd/system/kafka.services
*zookeeper.service:* *[Unit]Description=Apache Zookeeper server (Kafka)Documentation=http://zookeeper.apache.orgRequires=network.target remote-fs.targetAfter=network.target remote-fs.target[Service]User=borjaExecStart=/home/borja/inventory/Innovery/zookeeper/bin/zkServer.sh start /home/borja/inventory/Innovery/zookeeper/config/zookeeper.propertiesExecStop=/home/borja/inventory/Innovery/zookeeper/bin/zkServer.sh stop [Install]WantedBy=multi-user.target* *kafka.service:* *[Unit]Description=Apache Kafka server (broker)Documentation=http://kafka.apache.org/documentation.htmlRequires=network.target remote-fs.targetAfter=network.target remote-fs.target [Service]User=borjaExecStart=/home/borja/inventory/Innovery/Kafka/bin/kafka-server-start.sh /home/borja/inventory/Innovery/Kafka/config/server.propertiesExecStop=/home/borja/inventory/Innovery/Kafka/bin/kafka-server-stop.sh[Install]WantedBy=multi-user.target* The Kafka/Zookeeper installation procedure consists in decompress kafka .tar.gz file and zookeeper .tar.gz file. Looks like it doesn't work at all, the services never start via Ansible on the remote machine, but if i launch these services on the remote machine they work perfectly. It is making me crazy! Any help? Thanks, Ansible Group. -- 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 post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/607ee173-0b70-4052-862c-a2053425081d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
