Skip to content

Instantly share code, notes, and snippets.

@Spankalish
Created March 25, 2016 17:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Spankalish/04b97cc99b0cd827e310 to your computer and use it in GitHub Desktop.
Save Spankalish/04b97cc99b0cd827e310 to your computer and use it in GitHub Desktop.
disable server in haproxy:
cmd.run:
- name: |
minion=$(hostname)
echo "disable server here/$minion" | sudo socat stdio /var/lib/haproxy/stats
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment