Hello All,

I wanted to restart 1 windows service on 2 hosts 1 min apart, is there any
way we can achieve this.
Here is the my playbook Let me know in case of anything

---
  - name: restart the fedex service
    hosts: Windows1
    tasks:
      - win_service:
          name: fedex
          state: restarted

-- 
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/CAON3ZR0PvHDSY-6zJO-EVjmH1jPX0r%2B-UPS-xTLNOTZ0BWfVpw%40mail.gmail.com.

Reply via email to