a guest May 19th, 2019 81 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. - name: start and enable rabbitmq (run task host by host)
  2.   service:
  3.     name: "rabbitmq-server"
  4.     state: "started"
  5.     enabled: true
  6.   delegate_to: "{{ item }}"
  7.   with_items: "{{ groups['rabbitmq'] }}"
  8.   run_once: true
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand