Just wonder whether you can disable that service manually in 5 mins?
Sent from my iPhone On 31/05/2023, at 10:07 AM, Narmada Karthika <chittur...@gmail.com> wrote:
I am trying to run my playbook to check/restart/stop kestrel service on given node. I am able to ping that node using ansible but when running the task its is failing with connection timeout error. here is the playbook --- - name: check kestrel service hosts: lin_dev become: true gather_facts: no vars: kestrelservicename: kestrel-api.service tasks: - name: check status of kestrel service ansible.builtin.service: name: "{{ kestrelservicename }}" state: started enabled: no become_user: root timeout: 300
error is
"ansible_facts": {"discovered_interpreter_python": "/usr/bin/python"}, "changed": false, "msg": "Unable to disable service kestrel-api.service: Failed to execute operation: Connection timed out\n"}
--
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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/3aed1068-3bbe-4426-b98a-fc9b2818cdadn%40googlegroups.com.
--
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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/A9FF90E5-7FB7-4350-9BB5-9B6D3568587E%40gmail.com.
|