Skip to content

Instantly share code, notes, and snippets.

@dariko
Created January 29, 2018 11:48
Show Gist options
  • Save dariko/e44279f422e05a4f71d2316cfd365ffc to your computer and use it in GitHub Desktop.
Save dariko/e44279f422e05a4f71d2316cfd365ffc to your computer and use it in GitHub Desktop.
utility commands for openstack-ansible

mysql status

ansible galera -m shell -a "mysql -h localhost -e 'show status like \"%wsrep_cluster_%\";'"

rabbitmq status

ansible rabbitmq -m shell -a "rabbitmqctl cluster_status"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment