Created
May 9, 2019 14:48
-
-
Save TomaszKlosinski/fb6b6919104785f8bc7eefb53954e4b8 to your computer and use it in GitHub Desktop.
Run Ansible task host by host
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: start and enable rabbitmq (run task host by host) | |
service: | |
name: "rabbitmq-server" | |
state: "started" | |
enabled: true | |
delegate_to: "{{ item }}" | |
with_items: "{{ groups['rabbitmq'] }}" | |
run_once: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment