You can use:local_action or delegate_to: localhost at task level.-SuneelSent from my Samsung Galaxy smartphone. -------- Original message --------From: Vivek Kothawale <vkkothaw...@gmail.com> Date: 21/05/2020 20:35 (GMT+05:30) To: ansible-project@googlegroups.com Subject: Re: [ansible-project] how to run specific task locally on ansible ? HiUse tags to achieve this.Thanks,VivekOn Thu, May 21, 2020, 8:30 PM vinod devops <vinoddevopsclou...@gmail.com> wrote:there are no of tasks in play book, all tasks are running remotely on host. I want to run only one task locally.How do I do that ? Thanks
-- 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/c19122b7-5f83-48b0-b51d-eba574d62d7a%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/CAA420E_2mgz%3Db-AF9LZQfpXuK6NECNJ3UE%3DALiTTW7GyuPh_9w%40mail.gmail.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/5ec69ff5.1c69fb81.a942e.30c9%40mx.google.com.