Skip to content

Instantly share code, notes, and snippets.

@a1git
Created June 13, 2022 19:52
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 a1git/1e823f1422f2c5b8e023442420e4c884 to your computer and use it in GitHub Desktop.
Save a1git/1e823f1422f2c5b8e023442420e4c884 to your computer and use it in GitHub Desktop.
root@deploy:/opt/openstack-ansible/playbooks# ansible galera_container -m shell -a "mysql -h localhost -e 'show variables like \"%wsrep_cluster%\";'"
Variable files: "-e @/etc/openstack_deploy/user_secrets.yml -e @/etc/openstack_deploy/user_variables.yml "
[WARNING]: Unable to parse /etc/openstack_deploy/inventory.ini as an inventory source
r2c3_galera_container-cc15f835 | CHANGED | rc=0 >>
Variable_name Value
wsrep_cluster_address gcomm://172.29.239.238,172.29.239.46,172.29.239.235
wsrep_cluster_name openstack_galera_cluster
r2c2_galera_container-5d415896 | CHANGED | rc=0 >>
Variable_name Value
wsrep_cluster_address gcomm://172.29.239.238,172.29.239.46,172.29.239.235
wsrep_cluster_name openstack_galera_cluster
r2c1_galera_container-79aee5fc | CHANGED | rc=0 >>
Variable_name Value
wsrep_cluster_address gcomm://172.29.239.238,172.29.239.46,172.29.239.235
wsrep_cluster_name openstack_galera_cluster
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment