Ansible playbook to deploy gluster
- Create ansible vault.yml with your credential
example: vault.yml
---
username: YOUR_USERNAME
password: YOUR_PASSWORD
To Create vault.yml execute
# ansible-vault create vault.yml
- Control node should have passwordless SSH to manage node
Generate SSH key if required and copy SSH public key to manage node
# ssh-keygen
# ssh-copy-id user@<manage_node_ip>
-
Manage node should have a empty disk attach with name
sdb
-
Make sure inventory is modified as required
-
To run playbook
# ansible-playbook gluster1.yml --ask-vault-pass
Gluster_Ansible is licensed under GNU General Public License v3.0. See LICENSE