Skip to content

Instantly share code, notes, and snippets.

@mbukatov
Created July 27, 2018 07:10
Show Gist options
  • Save mbukatov/0426d3d2ff3e9751c970c7f56b8e7b49 to your computer and use it in GitHub Desktop.
Save mbukatov/0426d3d2ff3e9751c970c7f56b8e7b49 to your computer and use it in GitHub Desktop.
Create Gluster Trusted Storage Pool (peer probe) via ansible
- hosts: gluster
user: root
tasks:
- name: Create a trusted storage pool
gluster_peer:
state: present
nodes: "{{ groups['gluster'] }}"
run_once: yes
- hosts: gluster[0]
user: root
tasks:
- name: Create a trusted storage pool
gluster_peer:
state: present
nodes: "{{ groups['gluster'] }}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment